[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2015109500A1 - Data transmission method and apparatus - Google Patents

Data transmission method and apparatus Download PDF

Info

Publication number
WO2015109500A1
WO2015109500A1 PCT/CN2014/071272 CN2014071272W WO2015109500A1 WO 2015109500 A1 WO2015109500 A1 WO 2015109500A1 CN 2014071272 W CN2014071272 W CN 2014071272W WO 2015109500 A1 WO2015109500 A1 WO 2015109500A1
Authority
WO
WIPO (PCT)
Prior art keywords
type
data
data stream
data packet
network coding
Prior art date
Application number
PCT/CN2014/071272
Other languages
French (fr)
Chinese (zh)
Inventor
张力学
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480000360.XA priority Critical patent/CN105103491A/en
Priority to PCT/CN2014/071272 priority patent/WO2015109500A1/en
Publication of WO2015109500A1 publication Critical patent/WO2015109500A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/189Arrangements for providing special services to substations for broadcast or conference, e.g. multicast in combination with wireless systems

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
  • BACKGROUND With the development of communication technologies, transmitting data information through a network has become an important way for people to exchange information, and the scale of data transmission is also increasing. In the application process of large-scale data transmission or reliable broadcast/multicast services, there is usually a blocking problem of data transmission.
  • the fountain code encoding method In the prior art, commonly used mobile communication networks, such as Long Term Evolution (LTE), Universal Mobile Telecommunications System (UMTS), and short-range wireless communication technology Wi-Fi Bluetooth, usually solves the blocking problem in the above data transmission by adopting the fountain code encoding method.
  • the original data is divided into several data packets at the transmitting end, and the data packets can be encoded to generate an arbitrary number of encoded packets, and the receiving end can pass the decoding algorithm as long as a certain number of encoded packets are received. Restore the original data.
  • 1 is a schematic diagram of a fountain code principle provided by the prior art. As shown in FIG.
  • the transmitting end of the communication network there is an original encoded data packet 101 consisting of five data packets of different lengths, and the original encoded data is firstly used.
  • the packet 101 is cut into n equal-sized small data packets, that is, the cut encoded data packet 102, and the cut encoded data packet 102 is multiplied by the coefficient matrix of the transmitting end to calculate m network encoded data packets 103, where m> n.
  • the transmitting end sends the m network coded data packets 103 to the receiving end, and the receiving end can obtain the 5 original encoded data packets 101 of the transmitting end by inverse computing as long as any n network coded data packets 103 are correctly received.
  • Embodiments of the present invention provide a data transmission method and apparatus for improving efficiency of data transmission in a network.
  • an embodiment of the present invention provides a data transmission method, including:
  • first type of data stream is an initial data stream
  • second type of data stream is a data stream that needs to be retransmitted
  • first type of data stream is The second type of data stream contains any number of data streams
  • the data packet corresponds to a plurality of the second type of data streams
  • the independent coding refers to encoding a single data stream, each data stream corresponding to a group of network coded data packets, and the joint coding means encoding multiple data streams.
  • the plurality of data streams corresponding to a group of network coded data packets
  • the jointly coding the second type of data stream to generate the second type of network coded data packet includes:
  • Y H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
  • the transmitting the first type network coded data packet and the second type network coded data packet to the receiving End including:
  • the first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end in parallel.
  • an embodiment of the present invention provides a data transmission method, including:
  • the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream
  • the first type of data is a network coded data packet corresponding to the first type of data stream
  • the first type of data is a network coded data packet corresponding to the second type of data stream
  • the second type of data stream is a data stream that needs to be retransmitted, the first type
  • the data stream, the second type of data stream contains any number of data streams;
  • the received first type of network coded data packet is independently decoded to decode and decode the first type of data stream, and the received first type of network coded data packet and the second type of data stream corresponding to the first type of network
  • the encoded data packet is jointly decoded to decode and decode the second type of data stream.
  • the jointly decoding the received second type network coded data packet and the first type network coded data packet corresponding to the second type of data stream including:
  • the received second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded by using an inverse operation of the joint coding formula, where the joint coding formula is
  • Y H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
  • the receiving, the first type of network coded data packet is independently decoded to decode and decode a first type of data stream, jointly decoding the received second type network coded data packet and the first type of network coded data packet corresponding to the second type of data stream, to decode and decode the second type of data stream, further including :
  • an embodiment of the present invention provides a data transmission apparatus, including:
  • An acquiring module configured to acquire a first type of data stream and a second type of data stream, where the first type of data stream is an initial data stream, and the second type of data stream is a data stream that needs to be retransmitted, where the first a class data stream, a second type of data stream containing any number of data streams;
  • An encoding module configured to independently code the first type of data stream, generate a first type of network coded data packet, jointly encode the second type of data stream, and generate a second type of network coded data packet, a single
  • the second type of network coded data packet corresponds to a plurality of the second type of data streams
  • the independent code refers to encoding a single data stream
  • each data stream corresponds to a set of network coded data packets, where the joint code refers to a plurality of pairs of network coded data packets.
  • Data streams are encoded, and multiple data streams are corresponding a set of network coded data packets;
  • a transmitting module configured to transmit the first type of network coded data packet and the second type of network coded data packet to the receiving end.
  • the coding module is specifically configured to jointly encode the second type of data stream by using a joint coding formula, where the joint coding formula is
  • Y H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
  • the transmitting module is specifically configured to use the first type network coded data packet and the second type network The encoded data packets are transmitted in parallel to the receiving end.
  • an embodiment of the present invention provides a data transmission apparatus, including:
  • a receiving module configured to receive a first type of network coded data packet, and a second type of network coded data packet, where the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream, and the first type of data
  • the stream is an initial data stream
  • the second type of network coded data packet is a network coded data packet corresponding to the second type of data stream
  • the second type of data stream is a data stream that needs to be retransmitted
  • the first type of data is Stream
  • the second type of data stream contains any number of data streams
  • a decoding module configured to independently decode the received first type network coded data packet, to decode and decode the first type of data stream, and to correspond to the received second type network coded data packet and the second type of data stream
  • the first type of network coded data packet is jointly decoded to decode and decode the second type of data stream.
  • the decoding module is specifically configured to: use the inverse operation of the joint coding formula to correspond to the received second type network coded data packet and the second type data flow
  • the first type of network coded data packet is jointly decoded, and the joint coding formula is
  • Y H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
  • the determining module is configured to determine whether the data stream corresponding to the first type network coded data packet or the second type network coded data packet is correctly decoded and decoded, and if not, send a request for retransmitting the data flow.
  • the transmitting end separately encodes the first type of data stream after acquiring the first type of data stream as the initial data stream and the second type of data stream as the data stream to be retransmitted. And jointly coding the second type of data stream, and transmitting the corresponding first type of network coded data packet and the second type of network coded data packet to the receiving end, and correspondingly, the receiving end encodes the data packet by using the first type of network Performing independent decoding, translating the first type of data stream, jointly decoding the second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream, and decoding the second type of data stream, due to receiving At the end, there is already a first type of network coded data packet corresponding to the first type of data stream, and the transmitting end only needs to transmit a small amount of network code of the second type of data stream to the receiving end, and the receiving end can correctly decode and decode the data packet.
  • FIG. 1 is a schematic diagram of a fountain code principle provided by the prior art
  • Embodiment 1 of a data transmission method according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 2 of a data transmission method according to the present invention.
  • Embodiment 4 is a flowchart of Embodiment 3 of a data transmission method according to the present invention.
  • FIG. 5 is a schematic structural diagram of Embodiment 1 of a data transmission apparatus according to the present invention.
  • Embodiment 2 of a data transmission apparatus according to the present invention
  • Embodiment 7 is a schematic structural diagram of Embodiment 3 of a data transmission apparatus according to the present invention.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of a data transmission device according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of Embodiment 2 of a data transmission device according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of Embodiment 1 of a data transmission method according to the present invention. As shown in FIG. 2, the method in this embodiment may include the following content.
  • the first type of data stream is an initial data stream
  • the second type of data stream is a data stream that needs to be retransmitted
  • the first type of data stream and the second type of data stream Contains any number of data streams.
  • the data stream sent by the sending end to the receiving end includes the data stream that is initially transmitted and the data stream that needs to be retransmitted.
  • the sender obtains the original encoded data packets of each data stream from its data buffer.
  • a single second type of network coded data packet may correspond to multiple second type of data streams, and independent coding means encoding a single data stream, each data stream corresponding to a set of network coded data packets, and joint coding means performing multiple data streams Encoding, multiple data streams corresponding to a set of network encoded data packets.
  • the first type of data stream is an initial data stream
  • the transmitting end independently encodes the original code to generate sufficient network coding, so that the receiving end can correctly decode and decode the corresponding data stream.
  • the second type of data stream is a data stream that needs to be retransmitted, and the receiving end can buffer the network coding information of the first type of data stream that is received by the receiving end. Therefore, the transmitting end only needs to supplement and send less of the second type of data stream information. The receiving end can decode correctly and translate the corresponding data stream.
  • the transmitting end jointly encodes the original encoded data packets of the multiple data streams to generate a set of network coded data packets, so that the transmitting end can transmit multiple data streams in parallel under the condition of limited transmission capacity. Encoding information.
  • the first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end.
  • the transmitting end transmits the network encoded data packet of the first type of data stream and the second type of data stream to the receiving end, so that the receiving end can decode and decode the corresponding data stream.
  • the transmitting end after obtaining the first type of data stream as the initial data stream and the second type of data stream as the data stream to be retransmitted, the transmitting end separately encodes the first type of data stream, s S sssss Coding the M: N 1 ::.122222 second type data stream, and transmitting the corresponding first type network coded data packet and the second type network coded data packet to the receiving end, so that the receiving end can pass the pair
  • the first type of network coded data packet is independently decoded, and the first type of data stream is decoded, and the second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded, and the second type is decoded.
  • the class data stream because the first type of network coded data packet corresponding to the first type of data stream is initially transmitted at the receiving end, the transmitting end only needs to transmit a small amount of the network code of the second type of data stream to the receiving end, and the receiving end
  • the second type of data stream can be decoded and decoded correctly. Therefore, in the condition of limited transmission capacity, parallel fast transmission of multiple data streams is realized, and data transmission in the network is improved. The efficiency of the loss.
  • the data transmission method as described above, wherein the jointly encoding the second type of data stream to generate the second type of network coded data packet may include:
  • Y H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
  • n is the number of data streams
  • ⁇ . ⁇ , 4 is the original encoded data packet of the first data stream
  • , ,..., is the original encoded data packet of the second data stream
  • 4 is the nth data stream
  • the original encoded data packet, ⁇ , , ; ⁇ , ; ⁇ ", ⁇ , , ⁇ 1 is a joint encoded data packet generated by multiplying the original encoded data packet by a coefficient matrix.
  • the n data streams are jointly encoded by using the above formula, where the first encoded data packet of the first data stream is M, and the original encoded data packet of the second data stream is N, the nth data stream.
  • the original encoded data packet is X.
  • the generated joint coded data packet, , ,..., k network coded data packets corresponding to the first data stream separately: , j 2 V.., p network coded data packets corresponding to the second data flow separately , l “,j 2 ", ⁇ ,; t network-encoded data packets corresponding to the nth data stream, yi " +1 , j 2 " + .., +1 is the n data Flow correspondence q network coded packets.
  • the matrix coefficients can be customized according to different transmission environments and transmission requirements. Therefore, parallel fast transmission of multiple data streams can be realized, and the efficiency of data transmission in the network can be improved.
  • the data transmission method as described above, wherein the transmitting the first type of network coded data packet and the second type of network coded data packet to the receiving end may include:
  • the first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end in parallel.
  • the first type of network coded data packet is a network code corresponding to the first type of data stream
  • the second type of network coded data packet is a network code corresponding to the second type of data stream
  • the second type of data stream is required to be retransmitted.
  • the data stream, the sender usually only needs to send the second type of data stream information to the receiver, and the receiver can correctly decode and decode the corresponding data stream. Therefore, the size of the second type of network coded data packet is usually Smaller, the second type of network coded data packet and the first type of network coded data packet can be packaged into one transport packet transmission, so as to realize parallel fast transmission of multiple data streams, and improve the efficiency of data transmission in the network.
  • FIG. 3 is a flowchart of Embodiment 2 of the data transmission method of the present invention. As shown in FIG. 3, the method in this embodiment may include the following content.
  • S 301 receiving a first type of network coded data packet, and a second type of network coded data packet, where the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream, and the first type of data stream is an initial data stream.
  • the second type of network coded data packet is a network coded data packet corresponding to the second type of data stream, and the second type of data stream is a data stream that needs to be retransmitted, and the first type of data stream and the second type of data stream contain any quantity of data. flow.
  • the receiving end receives the data stream sent by the sending end, including the first transmitted data stream and the retransmitted data stream, where the first type of data stream is an initial data stream, and the corresponding network coded data packet is a first type of network coded data. Packet, the second type of data stream is a data stream that needs to be retransmitted, and the corresponding network coded data packet is a second type of network coded data packet.
  • S 302. Perform independent decoding on the received first type network coded data packet, to decode and decode the first type of data stream, and to receive the first type of network coded data packet and the first type of network code corresponding to the first type of network code.
  • the data packet is jointly decoded to decode and decode the second type of data stream.
  • the first type of network coded data packet is a network code generated by the transmitting end to independently encode the original code of the first type of data stream, and therefore, the receiving end also needs to receive the first
  • the class network coded data packets are independently decoded to translate the corresponding first type of data stream.
  • the second type of network coded data packet is a network code generated by the sender to jointly encode the original code of the second type of data stream
  • the second type of network coded data packet is a network coded data packet corresponding to the second type of data stream
  • the second type The data stream is a data stream that needs to be retransmitted, and the network coded data packet that the second type of data stream previously received by the receiving end already exists at the receiving end, therefore, the receiving end needs to receive the second type of network encoded data packet and the second
  • the first type of network coded data packet corresponding to the class data stream is jointly decoded to decode the corresponding second type of data stream.
  • the first type of data stream that is the initial data stream and the second type of data stream that is the data stream that needs to be retransmitted are acquired at the transmitting end, and the second type of data stream is independently encoded, and the second type is used.
  • the class data stream is jointly coded, and the corresponding first type network coded data packet and the second type network coded data packet are transmitted to the receiving end, and the receiving end independently decodes the first type network coded data packet, and the translated A type of data stream, jointly decoding the second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream, and decoding the second type of data stream, because the second type of data already exists at the receiving end
  • the first type of network coded data packet corresponding to the initial transmission of the stream the sender only needs to transmit a small amount of the network code of the second type of data stream to the receiving end, and the receiving end can correctly decode and decode the second type of data stream. Therefore, Under the condition of limited transmission capacity, parallel fast
  • the data transmission method as described above, wherein the jointly decoding the received first type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream may include:
  • the received second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded by using an inverse operation of the joint coding formula, where the joint coding formula is
  • n is the number of data streams
  • 44 ⁇ . ⁇ , 4 is the original encoded data packet of the first data stream
  • is the original encoded data packet of the second data stream, which is the original encoded data packet of the nth data stream, , ..., 3 ⁇ 2 , 2 2 , ⁇ .., 33 ⁇ 4", 2 .., 0 2 " + 1 , ⁇ .., 3 ⁇ is a joint encoded data packet generated by multiplying the original encoded data packet by a coefficient matrix.
  • the above formula is joint coding of n data streams, where the original encoded data packet of the first data stream is one, and the original encoded data packet of the second data stream is one, the nth data
  • the original encoded packets of the stream are X.
  • the matrix coefficient is a parameter variable customized according to different transmission environments and transmission requirements. Therefore, the received second class network coded data packet and the first type network coded data corresponding to the second type of data stream may be inversed according to the above formula.
  • the packet is jointly decoded, and the second type of data stream is decoded, and finally, the parallel fast transmission of multiple data streams is completed, and the efficiency of data transmission in the network is improved.
  • FIG. 4 is a flowchart of a third embodiment of a data transmission method according to the present invention.
  • the received first type network coding is performed in S302.
  • the data packet is independently decoded to decode and decode the first type of data stream, and the received second type network coded data packet and the first type network coded data packet corresponding to the second type of data stream are jointly decoded to decode the decoded data packet.
  • the method of this embodiment may further include the following content.
  • S401 Determine whether the first type of network coded data packet or the second type of network is correctly decoded and decoded.
  • the data stream corresponding to the encoded data packet if not, the request to retransmit the data stream.
  • the receiving end independently decodes each of the first type network coded data packets received by the receiving end, and determines whether the corresponding data stream is correctly decoded and decoded. If yes, the corresponding data stream is decoded, if No, a request to retransmit the data stream is sent to the sender.
  • the receiving end jointly decodes each type 2 network coded data packet received by the second type and the first type of network coded data packet corresponding to the second type of data stream, and determines whether the corresponding data stream is correctly decoded and decoded, if yes Then, the corresponding data stream is translated, and if not, the sender is sent a request to retransmit the data stream.
  • the first type of data stream that is the initial data stream and the second type of data stream that is the data stream that needs to be retransmitted are acquired at the transmitting end, and the second type of data stream is independently encoded, and the second type is used.
  • the class data stream is jointly coded, and the corresponding first type network coded data packet and the second type network coded data packet are transmitted to the receiving end, and the receiving end independently decodes the first type network coded data packet, and the second
  • the class network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded, and it is determined whether the data stream corresponding to the first type of network coded data packet or the second type of network coded data packet is correctly decoded and decoded.
  • the corresponding data stream is translated, and if not, a request to retransmit the corresponding data stream is sent, thereby ensuring correct transmission of each data stream. Since the first type of network coded data packet corresponding to the first type of data stream is already transmitted at the receiving end, the transmitting end only needs to transmit a small amount of the network code of the second type of data stream to the receiving end, and the receiving end can correctly decode the network packet. The second type of data stream is translated. Therefore, under the condition of limited transmission capacity, that is, ensuring the transmission quality of the data stream, parallel fast transmission of multiple data streams is realized, and the efficiency of data transmission in the network is improved.
  • FIG. 5 is a schematic structural diagram of Embodiment 1 of a data transmission apparatus according to the present invention.
  • the apparatus in this embodiment may include: an obtaining module 501, an encoding module 502, and a transmitting module 503.
  • the obtaining module 501 is configured to obtain the first type of data stream and the second type of data stream, where the first type of data stream is an initial data stream, and the second type of data stream is a data stream that needs to be retransmitted, The first type of data stream, the second type of data stream includes any number of data streams;
  • the encoding module 502 is configured to independently encode the first type of data stream, and generate a first type of network coded data packet, for the second type
  • the data stream is jointly encoded to generate a second type of network coded data packet, and the single second type of network coded data packet corresponds to a plurality of the second type of data stream, and the independent code refers to encoding a single data stream, and each The data streams correspond to a set of network code
  • the apparatus of this embodiment may be used to perform the method of the method embodiment shown in FIG. 2, and the implementation principle is similar to the technical effect to be achieved, and details are not described herein again.
  • the encoding module 502 is specifically configured to jointly encode the second type of data stream by using a joint coding formula, where the joint coding formula is
  • Y is the representation matrix of the output network encoded data packet
  • H is the coding coefficient matrix
  • S is the representation matrix of the original encoded data packet of the data stream.
  • the transmitting module 503 is specifically configured to transmit the first type network coded data packet and the second type network coded data packet to the receiving end in parallel.
  • FIG. 6 is a schematic structural diagram of Embodiment 2 of the data transmission apparatus of the present invention.
  • the apparatus of this embodiment may include: a receiving module 601 and a decoding module 602. among them,
  • the receiving module 601 is configured to receive the first type of network coded data packet and the second type of network coded data packet, where the network coded data packet is a network coded data packet corresponding to the first type of data flow, where the first type of data flow is An initial data stream, the second type of network coded data packet is a coded data packet for a network corresponding to the second type of data flow, and the second type of data flow is a data flow that needs to be retransmitted, the first type
  • the data stream, the second type of data stream includes any number of data streams; the decoding module 602 is configured to independently decode the received first type of network coded data packet, to decode and decode the first type of data stream, and to receive the received data.
  • the second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded to decode and decode the second type of data stream.
  • the apparatus of this embodiment may be used to perform the method of the method embodiment shown in FIG. 3, and the implementation principle is similar to the technical effect to be achieved, and details are not described herein again.
  • the decoding module 602 is specifically configured to use the inverse operation of the joint coding formula to receive the first type of network coded data packet and the first type of network coded data corresponding to the second type of data stream.
  • FIG. 7 is a schematic structural diagram of Embodiment 3 of the data transmission apparatus of the present invention. As shown in FIG. 7, the apparatus of this embodiment may further include: a determining module 701. among them,
  • the determining module 701 is configured to determine whether to correctly decode the data stream corresponding to the first type network coded data packet or the second type network coded data packet, and if not, send a request for retransmitting the data flow.
  • the apparatus of this embodiment may be used to perform the method of the method embodiment shown in FIG. 4, and the implementation principle is similar to the technical effect to be achieved, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of a data transmission device according to an embodiment of the present invention.
  • the data transmission device includes at least one processor 801 (for example, a CPU), a memory 803, and at least one communication bus 804, which are used to implement devices. Connection communication.
  • the processor 8 01 is for executing an executable module, such as a computer program, stored in the memory 803.
  • the memory 803 may include an i4 chip (RAM: Random Acce s s Memo ry), and the A device may include a non-volatile memory (e.g., non-vo l a t i l e memory), such as at least one disk memory.
  • the memory 803 stores a program 805, and the program 805 can be executed by the processor 801.
  • the program includes executing a data transmission method, the method comprising: acquiring a first type of data stream and a second type of data stream,
  • the first type of data stream is an initial data stream
  • the second type of data stream is a data stream that needs to be retransmitted
  • the first type of data stream and the second type of data stream comprise any number of data streams;
  • the data packet corresponds to a plurality of the second type of data streams
  • the independent coding refers to encoding a single data stream, each data stream corresponding to a group of network coded data packets, and the joint coding means encoding multiple data streams.
  • the plurality of data streams corresponding to a group of network coded data packets
  • the program for performing the data transmission method is configured to jointly encode the second type of data stream to generate a second type of network coded data packet, including:
  • Y is the representation matrix of the output network coded data packet
  • H is the coding coefficient matrix
  • S is the representation matrix of the original coded data packet of the data stream.
  • the program for performing the data transmission method preferably, the transmitting the first type of network coded data packet and the second type of network coded data packet to the receiving end, including:
  • the first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end in parallel.
  • FIG. 9 is a schematic structural diagram of Embodiment 2 of a data transmission device according to an embodiment of the present invention.
  • the data transmission device includes at least one processor 901 (eg, a CPU), a memory 903, and at least one communication bus 904, configured to implement Connection communication.
  • the processor 9 01 is for executing an executable module, such as a computer program, stored in the memory 903.
  • the memory 903 may include an i4 chip (RAM: Random Acce s s Memo ry), and the A device may include a non-volatile memory (e.g., non-vo l a t i l e memory), such as at least one disk memory.
  • the memory 903 stores a program 905 that can be executed by the processor 901.
  • the program includes executing a data transmission method, the method comprising: receiving a first type of network encoded data packet, a second type of network coding a packet, the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream, the first type of data stream is an initial data stream, and the second type of network coded data packet is a second a network coded data packet corresponding to the class data stream, the second type of data stream is a data stream that needs to be retransmitted, and the first type of data stream and the second type of data stream comprise any number of data streams;
  • the received first type of network coded data packet is independently decoded to decode and decode the first type of data stream, and the received first type of network coded data packet and the second type of data stream corresponding to the first type of network
  • the encoded data packet is jointly decoded to decode and decode the second type of data stream.
  • the program for performing the data transmission method preferably, the jointly decoding the received second type network coded data packet and the first type network coded data packet corresponding to the second type of data stream, including: Combining the received second type network coded data packet with the first type network coded data packet corresponding to the second type of data stream by using an inverse operation of the joint coding formula, where the joint coding formula is
  • Y is the representation matrix of the output network coded data packet
  • H is the coding coefficient matrix
  • S is the representation matrix of the original coded data packet of the data stream.
  • the program for performing the data transmission method performs independent decoding on the received first type network coded data packet to decode and decode the first type of data stream, and encode the received second type network code.
  • the data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded to decode and decode the second type of data stream, and further includes:

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments of the present invention provide a data transmission method and apparatus. The embodiments of the present invention relate to the technical field of communications, so as to solve the problem of blocking of data transmission in a network. The method comprises: obtaining data flows in a first type and data flows in a second type, the data flows in the first type being initially transmitted data follows, and the data flows in the second type being data flows to be retransmitted; independently coding the data flows in the first type to generate network coding data packets in a first type, and jointly coding the data flows in the second type to generate network coding data packets in a second type, a single network coding data packet in the second type being corresponding to multiple data flows the second type; and transmitting the network coding data packets the first type and the network coding data packets in the second type to a reception end. The data transmission method and apparatus provided in the embodiments of the present invention can be applied in a network data transmission device having high requirements on time delay.

Description

数据传输方法和装置 技术领域 本发明实施例涉及通信技术领域, 尤其涉及一种数据传输方法和装 置。 背景技术 随着通信技术的发展, 通过网络传输数据信息已成为人们进行信息 交流的重要方式, 传输数据的规模也日趋增大。 在大规模数据传输或可 靠的广播 /多播等业务的应用过程中, 通常存在数据传输的阻塞问题。  The present invention relates to the field of communications technologies, and in particular, to a data transmission method and apparatus. BACKGROUND With the development of communication technologies, transmitting data information through a network has become an important way for people to exchange information, and the scale of data transmission is also increasing. In the application process of large-scale data transmission or reliable broadcast/multicast services, there is usually a blocking problem of data transmission.
现有技术中, 常用的移动通信网络, 如长期演进 ( Long Term Evolution, 简称为: LTE ) 、 通用移动通信系统 ( Universal Mobile Telecommunications System, 简称为: UMTS ) , 以及短距离无线通信技 术 Wi-Fi、 蓝牙, 通常通过采用喷泉码编码方法来解决上述数据传输中的 阻塞问题。 在喷泉码编码方法中, 原始数据在发送端被分割为若干个数 据分组, 数据分组可以经过编码生成任意数量的编码分组, 而接收端只 要接收到一定数量的编码分组, 就可以通过译码算法恢复原始数据。 图 1 为现有技术提供的喷泉码原理的示意图, 如图 1 所示, 在通信网络的发 送端有一个由 5个长度不一的数据包组成的原始编码数据包 101,首先将 原始编码数据包 101切割成 n个等长的小数据包,即切割编码数据包 102 , 这些切割编码数据包 102与发送端的系数矩阵相乘即可计算得出 m个网 络编码数据包 103, 在这里 m>n。 发送端将这 m个网络编码数据包 103发 送给接收端, 接收端只要正确接收到任意 n个网络编码数据包 103, 即可 通过逆运算还原得到发送端的 5个原始编码数据包 101。  In the prior art, commonly used mobile communication networks, such as Long Term Evolution (LTE), Universal Mobile Telecommunications System (UMTS), and short-range wireless communication technology Wi-Fi Bluetooth, usually solves the blocking problem in the above data transmission by adopting the fountain code encoding method. In the fountain code encoding method, the original data is divided into several data packets at the transmitting end, and the data packets can be encoded to generate an arbitrary number of encoded packets, and the receiving end can pass the decoding algorithm as long as a certain number of encoded packets are received. Restore the original data. 1 is a schematic diagram of a fountain code principle provided by the prior art. As shown in FIG. 1, at the transmitting end of the communication network, there is an original encoded data packet 101 consisting of five data packets of different lengths, and the original encoded data is firstly used. The packet 101 is cut into n equal-sized small data packets, that is, the cut encoded data packet 102, and the cut encoded data packet 102 is multiplied by the coefficient matrix of the transmitting end to calculate m network encoded data packets 103, where m> n. The transmitting end sends the m network coded data packets 103 to the receiving end, and the receiving end can obtain the 5 original encoded data packets 101 of the transmitting end by inverse computing as long as any n network coded data packets 103 are correctly received.
在现有技术的数据传输过程中, 发送端向接收端发送的网络编码数 据包的数量通常较大, 当接收端长时间无法还原得到发送端的原始编码 数据包时, 发送端又会不断生成新的网络编码数据包发送给接收端, 从 而导致网络中后续数据传输的阻塞, 传输效率低。 发明内容 本发明的实施例提供一种数据传输方法和装置, 用以提高网络中数 据传输的效率。 In the prior art data transmission process, the number of network coded data packets sent by the transmitting end to the receiving end is usually large. When the receiving end cannot restore the original encoded data packet of the transmitting end for a long time, the transmitting end continuously generates new ones. The network coded data packet is sent to the receiving end, which causes blocking of subsequent data transmission in the network, and the transmission efficiency is low. SUMMARY OF THE INVENTION Embodiments of the present invention provide a data transmission method and apparatus for improving efficiency of data transmission in a network.
为达到上述目的, 本发明的实施例采用如下技术方案:  In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:
第一方面, 本发明实施例提供一种数据传输方法, 包括:  In a first aspect, an embodiment of the present invention provides a data transmission method, including:
获取第一类数据流和第二类数据流, 所述第一类数据流为初传数据 流, 所述第二类数据流为需要重新传送的数据流, 所述第一类数据流、 第二类数据流包含任意数量的数据流;  Obtaining a first type of data stream and a second type of data stream, where the first type of data stream is an initial data stream, the second type of data stream is a data stream that needs to be retransmitted, and the first type of data stream is The second type of data stream contains any number of data streams;
对所述第一类数据流进行独立编码, 生成第一类网络编码数据包, 对所述第二类数据流进行联合编码, 生成第二类网络编码数据包, 单个 所述第二类网络编码数据包与多个所述第二类数据流对应, 所述独立编 码指对单个数据流进行编码, 每个数据流对应一组网络编码数据包, 所 述联合编码指对多个数据流进行编码, 多个数据流对应一组网络编码数 据包;  Independently encoding the first type of data stream, generating a first type of network coded data packet, jointly coding the second type of data stream, generating a second type of network coded data packet, and the single type of the second type of network coding The data packet corresponds to a plurality of the second type of data streams, and the independent coding refers to encoding a single data stream, each data stream corresponding to a group of network coded data packets, and the joint coding means encoding multiple data streams. , the plurality of data streams corresponding to a group of network coded data packets;
将所述第一类网络编码数据包、 第二类网络编码数据包传送给接收 端。  Transmitting the first type of network coded data packet and the second type of network coded data packet to a receiving end.
在第一方面的第一种可能的实现方式中, 所述对所述第二类数据流 进行联合编码, 生成第二类网络编码数据包, 包括:  In a first possible implementation manner of the first aspect, the jointly coding the second type of data stream to generate the second type of network coded data packet includes:
利用联合编码公式对所述第二类数据流进行联合编码, 所述联合编 码公式为  Coding the second type of data stream by using a joint coding formula, where the joint coding formula is
Y = H * S , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 Y = H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
结合第一方面或第一方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 所述将所述第一类网络编码数据包、 第二类网络编码数 据包传送给接收端, 包括:  With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the transmitting the first type network coded data packet and the second type network coded data packet to the receiving End, including:
将所述第一类网络编码数据包、 第二类网络编码数据包并行传送给 接收端。  The first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end in parallel.
第二方面, 本发明实施例提供一种数据传输方法, 包括:  In a second aspect, an embodiment of the present invention provides a data transmission method, including:
接收第一类网络编码数据包、 第二类网络编码数据包, 所述第一类 网络编码数据包为第一类数据流对应的网络编码数据包, 所述第一类数 据流为初传数据流, 所述第二类网络编码数据包为第二类数据流对应的 网络编码数据包, 所述第二类数据流为需要重新传送的数据流, 所述第 一类数据流、 第二类数据流包含任意数量的数据流; Receiving a first type of network coded data packet, and a second type of network coded data packet, where the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream, the first type of data The second type of network coded data packet is a network coded data packet corresponding to the second type of data stream, and the second type of data stream is a data stream that needs to be retransmitted, the first type The data stream, the second type of data stream contains any number of data streams;
对接收的所述第一类网络编码数据包进行独立解码, 以解码译出第 一类数据流, 对接收的所述第二类网络编码数据包和第二类数据流对应 的第一类网络编码数据包进行联合解码, 以解码译出第二类数据流。  The received first type of network coded data packet is independently decoded to decode and decode the first type of data stream, and the received first type of network coded data packet and the second type of data stream corresponding to the first type of network The encoded data packet is jointly decoded to decode and decode the second type of data stream.
在第二方面的第一种可能的实现方式中, 所述对接收的所述第二类 网络编码数据包和第二类数据流对应的第一类网络编码数据包进行联合 解码, 包括:  In a first possible implementation manner of the second aspect, the jointly decoding the received second type network coded data packet and the first type network coded data packet corresponding to the second type of data stream, including:
利用联合编码公式的的逆运算对接收的所述第二类网络编码数据包 和第二类数据流对应的第一类网络编码数据包进行联合解码, 所述联合 编码公式为  The received second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded by using an inverse operation of the joint coding formula, where the joint coding formula is
Y = H * S , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 Y = H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
结合第二方面或第二方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 在所述对接收的所述第一类网络编码数据包进行独立解 码, 以解码译出第一类数据流, 对接收的所述第二类网络编码数据包和 第二类数据流对应的第一类网络编码数据包进行联合解码, 以解码译出 第二类数据流之后, 还包括:  With reference to the second aspect, or the first possible implementation manner of the second aspect, in the second possible implementation, the receiving, the first type of network coded data packet is independently decoded to decode and decode a first type of data stream, jointly decoding the received second type network coded data packet and the first type of network coded data packet corresponding to the second type of data stream, to decode and decode the second type of data stream, further including :
判断是否正确解码译出第一类网络编码数据包或第二类网络编码数 据包对应的数据流, 如果为否, 则发送重传所述数据流的请求。  It is determined whether the data stream corresponding to the first type of network coded data packet or the second type of network coded data packet is correctly decoded and decoded, and if not, the request for retransmitting the data flow is sent.
第三方面, 本发明实施例提供一种数据传输装置, 包括:  In a third aspect, an embodiment of the present invention provides a data transmission apparatus, including:
获取模块, 用于获取第一类数据流和第二类数据流, 所述第一类数 据流为初传数据流, 所述第二类数据流为需要重新传送的数据流, 所述 第一类数据流、 第二类数据流包含任意数量的数据流;  An acquiring module, configured to acquire a first type of data stream and a second type of data stream, where the first type of data stream is an initial data stream, and the second type of data stream is a data stream that needs to be retransmitted, where the first a class data stream, a second type of data stream containing any number of data streams;
编码模块, 用于对所述第一类数据流进行独立编码, 生成第一类网 络编码数据包, 对所述第二类数据流进行联合编码, 生成第二类网络编 码数据包, 单个所述第二类网络编码数据包与多个所述第二类数据流对 应, 所述独立编码指对单个数据流进行编码, 每个数据流对应一组网络 编码数据包, 所述联合编码指对多个数据流进行编码, 多个数据流对应 一组网络编码数据包; An encoding module, configured to independently code the first type of data stream, generate a first type of network coded data packet, jointly encode the second type of data stream, and generate a second type of network coded data packet, a single The second type of network coded data packet corresponds to a plurality of the second type of data streams, and the independent code refers to encoding a single data stream, and each data stream corresponds to a set of network coded data packets, where the joint code refers to a plurality of pairs of network coded data packets. Data streams are encoded, and multiple data streams are corresponding a set of network coded data packets;
传送模块, 用于将所述第一类网络编码数据包、 第二类网络编码数 据包传送给接收端。  And a transmitting module, configured to transmit the first type of network coded data packet and the second type of network coded data packet to the receiving end.
在第三方面的第一种可能的实现方式中, 所述编码模块, 具体用于 利用联合编码公式对所述第二类数据流进行联合编码, 所述联合编码公 式为  In a first possible implementation manner of the third aspect, the coding module is specifically configured to jointly encode the second type of data stream by using a joint coding formula, where the joint coding formula is
Y = H * S , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。  Y = H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
结合第三方面或第三方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 所述传送模块, 具体用于将所述第一类网络编码数据包、 第二类网络编码数据包并行传送给接收端。  With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner, the transmitting module is specifically configured to use the first type network coded data packet and the second type network The encoded data packets are transmitted in parallel to the receiving end.
第四方面, 本发明实施例提供一种数据传输装置, 包括:  In a fourth aspect, an embodiment of the present invention provides a data transmission apparatus, including:
接收模块, 用于接收第一类网络编码数据包、 第二类网络编码数据 包, 所述第一类网络编码数据包为第一类数据流对应的网络编码数据包, 所述第一类数据流为初传数据流, 所述第二类网络编码数据包为第二类 数据流对应的网络编码数据包, 所述第二类数据流为需要重新传送的数 据流, 所述第一类数据流、 第二类数据流包含任意数量的数据流;  a receiving module, configured to receive a first type of network coded data packet, and a second type of network coded data packet, where the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream, and the first type of data The stream is an initial data stream, the second type of network coded data packet is a network coded data packet corresponding to the second type of data stream, and the second type of data stream is a data stream that needs to be retransmitted, and the first type of data is Stream, the second type of data stream contains any number of data streams;
解码模块,用于对接收的所述第一类网络编码数据包进行独立解码, 以解码译出第一类数据流, 对接收的所述第二类网络编码数据包和第二 类数据流对应的第一类网络编码数据包进行联合解码, 以解码译出第二 类数据流。  a decoding module, configured to independently decode the received first type network coded data packet, to decode and decode the first type of data stream, and to correspond to the received second type network coded data packet and the second type of data stream The first type of network coded data packet is jointly decoded to decode and decode the second type of data stream.
在第四方面的第一种可能的实现方式中, 所述解码模块, 具体用于 利用联合编码公式的的逆运算对接收的所述第二类网络编码数据包和第 二类数据流对应的第一类网络编码数据包进行联合解码, 所述联合编码 公式为  In a first possible implementation manner of the fourth aspect, the decoding module is specifically configured to: use the inverse operation of the joint coding formula to correspond to the received second type network coded data packet and the second type data flow The first type of network coded data packet is jointly decoded, and the joint coding formula is
Y = H * S , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 Y = H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
结合第四方面或第四方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 还包括: Combining the fourth aspect or the first possible implementation of the fourth aspect, in the second possibility In the implementation, it also includes:
判断模块, 用于判断是否正确解码译出第一类网络编码数据包或第 二类网络编码数据包对应的数据流, 如果为否, 则发送重传所述数据流 的请求。  The determining module is configured to determine whether the data stream corresponding to the first type network coded data packet or the second type network coded data packet is correctly decoded and decoded, and if not, send a request for retransmitting the data flow.
本发明实施例提供的技术方案, 发送端在获取作为初传数据流的第 一类数据流和作为需要重新传送的数据流的第二类数据流后, 通过对第 一类数据流进行独立编码, 对第二类数据流进行联合编码, 并将对应生 成的第一类网络编码数据包、 第二类网络编码数据包传送给接收端, 相 应的, 接收端通过对第一类网络编码数据包进行独立解码, 译出第一类 数据流, 对第二类网络编码数据包和第二类数据流对应的第一类网络编 码数据包进行联合解码, 译出第二类数据流, 由于在接收端已经存在第 二类数据流初次传输时对应的第一类网络编码数据包, 发送端只需向接 收端再次传送少量的第二类数据流的网络编码, 接收端即可正确解码译 出第二类数据流, 因此, 实现了对多个数据流的并行快速传输, 提高了 网络中数据传输的效率。 附图说明 为了更清楚地说明本发明实施例的技术方案, 下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  According to the technical solution provided by the embodiment of the present invention, the transmitting end separately encodes the first type of data stream after acquiring the first type of data stream as the initial data stream and the second type of data stream as the data stream to be retransmitted. And jointly coding the second type of data stream, and transmitting the corresponding first type of network coded data packet and the second type of network coded data packet to the receiving end, and correspondingly, the receiving end encodes the data packet by using the first type of network Performing independent decoding, translating the first type of data stream, jointly decoding the second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream, and decoding the second type of data stream, due to receiving At the end, there is already a first type of network coded data packet corresponding to the first type of data stream, and the transmitting end only needs to transmit a small amount of network code of the second type of data stream to the receiving end, and the receiving end can correctly decode and decode the data packet. The second type of data stream, therefore, achieves parallel fast transmission of multiple data streams, improving the efficiency of data transmission in the network. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only the present drawings. Some embodiments of the invention may be obtained by those of ordinary skill in the art from the drawings without departing from the scope of the invention.
图 1为现有技术提供的喷泉码原理的示意图;  1 is a schematic diagram of a fountain code principle provided by the prior art;
图 2为本发明数据传输方法实施例一的流程图;  2 is a flowchart of Embodiment 1 of a data transmission method according to the present invention;
图 3为本发明数据传输方法实施例二的流程图;  3 is a flowchart of Embodiment 2 of a data transmission method according to the present invention;
图 4为本发明数据传输方法实施例三的流程图;  4 is a flowchart of Embodiment 3 of a data transmission method according to the present invention;
图 5为本发明数据传输装置实施例一的结构示意图;  FIG. 5 is a schematic structural diagram of Embodiment 1 of a data transmission apparatus according to the present invention; FIG.
图 6为本发明数据传输装置实施例二的结构示意图;  6 is a schematic structural diagram of Embodiment 2 of a data transmission apparatus according to the present invention;
图 7为本发明数据传输装置实施例三的结构示意图;  7 is a schematic structural diagram of Embodiment 3 of a data transmission apparatus according to the present invention;
图 8为本发明实施例提供的数据传输设备实施例一的结构示意图; 图 9为本发明实施例提供的数据传输设备实施例二的结构示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案 进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实 施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术 人员在没有作出创造性劳动前提下所获得的所有其他实施例, 都属于本 发明保护的范围。 FIG. 8 is a schematic structural diagram of Embodiment 1 of a data transmission device according to an embodiment of the present invention; FIG. 9 is a schematic structural diagram of Embodiment 2 of a data transmission device according to an embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 2为本发明数据传输方法实施例一的流程图, 如图 2所示, 本实 施例的方法可以包括以下内容。  FIG. 2 is a flowchart of Embodiment 1 of a data transmission method according to the present invention. As shown in FIG. 2, the method in this embodiment may include the following content.
5201、 获取第一类数据流和第二类数据流, 第一类数据流为初传数 据流, 第二类数据流为需要重新传送的数据流, 第一类数据流、 第二类 数据流包含任意数量的数据流。  5201. Acquire a first type of data stream and a second type of data stream. The first type of data stream is an initial data stream, and the second type of data stream is a data stream that needs to be retransmitted, and the first type of data stream and the second type of data stream. Contains any number of data streams.
具体的, 发送端向接收端发送的数据流, 包括初次传输的数据流和 需要重发的数据流。 发送端从其数据緩存区获取各数据流的原始编码数 据包。  Specifically, the data stream sent by the sending end to the receiving end includes the data stream that is initially transmitted and the data stream that needs to be retransmitted. The sender obtains the original encoded data packets of each data stream from its data buffer.
5202、 对第一类数据流进行独立编码, 生成第一类网络编码数据包, 对第二类数据流进行联合编码, 生成第二类网络编码数据包。  5202. Perform independent coding on the first type of data stream, generate a first type of network coded data packet, and jointly encode the second type of data stream to generate a second type of network coded data packet.
单个第二类网络编码数据包可以与多个第二类数据流对应, 独立编 码指对单个数据流进行编码, 每个数据流对应一组网络编码数据包, 联 合编码指对多个数据流进行编码, 多个数据流对应一组网络编码数据包。  A single second type of network coded data packet may correspond to multiple second type of data streams, and independent coding means encoding a single data stream, each data stream corresponding to a set of network coded data packets, and joint coding means performing multiple data streams Encoding, multiple data streams corresponding to a set of network encoded data packets.
具体的, 第一类数据流为初传数据流, 发送端对其原始编码进行独 立编码, 生成足够的网络编码, 以使接收端能够正确解码, 译出对应的 数据流。 第二类数据流为需要重新传送的数据流, 接收端可以緩存其接 收的第二类数据流初次传输的网络编码信息, 因此, 发送端只需要补充 发送较少的第二类数据流信息, 接收端即可正确解码, 译出相应的数据 流。 因此, 对于第二类数据流, 发送端将多个数据流的原始编码数据包 联合编码生成一组网络编码数据包, 因此, 在有限的传输容量条件下, 发送端可以并行传送多个数据流的编码信息。  Specifically, the first type of data stream is an initial data stream, and the transmitting end independently encodes the original code to generate sufficient network coding, so that the receiving end can correctly decode and decode the corresponding data stream. The second type of data stream is a data stream that needs to be retransmitted, and the receiving end can buffer the network coding information of the first type of data stream that is received by the receiving end. Therefore, the transmitting end only needs to supplement and send less of the second type of data stream information. The receiving end can decode correctly and translate the corresponding data stream. Therefore, for the second type of data stream, the transmitting end jointly encodes the original encoded data packets of the multiple data streams to generate a set of network coded data packets, so that the transmitting end can transmit multiple data streams in parallel under the condition of limited transmission capacity. Encoding information.
5203、 将第一类网络编码数据包、 第二类网络编码数据包传送给接 收端。  5203. The first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end.
具体的, 发送端将第一类数据流和第二类数据流的网络编码数据包 传送给接收端, 以使接收端能解码译出相应的数据流。 本实施例中, 发送端在获取作为初传数据流的第一类数据流和作为 需要重新传送的数据流的第二类数据流后, 通过对第一类数据流进行独 立编码, s S s s s s s对 M: N 1 ::.122222 第二类数据流进行联合编码, 并将对应生成的第一类网络编 码数据包、 第二类网络编码数据包传送给接收端, 以使接收端能够通过 对第一类网络编码数据包进行独立解码, 译出第一类数据流, 对第二类 网络编码数据包和第二类数据流对应的第一类网络编码数据包进行联合 解码, 译出第二类数据流, 由于在接收端已经存在第二类数据流初次传 输时对应的第一类网络编码数据包, 发送端只需向接收端再次传送少量 的第二类数据流的网络编码, 接收端即可正确解码译出第二类数据流, 因此, 在有限的传输容量条件下, 实现了对多个数据流的并行快速传输, 提高了网络中数据传输的效率。 Specifically, the transmitting end transmits the network encoded data packet of the first type of data stream and the second type of data stream to the receiving end, so that the receiving end can decode and decode the corresponding data stream. In this embodiment, after obtaining the first type of data stream as the initial data stream and the second type of data stream as the data stream to be retransmitted, the transmitting end separately encodes the first type of data stream, s S sssss Coding the M: N 1 ::.122222 second type data stream, and transmitting the corresponding first type network coded data packet and the second type network coded data packet to the receiving end, so that the receiving end can pass the pair The first type of network coded data packet is independently decoded, and the first type of data stream is decoded, and the second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded, and the second type is decoded. The class data stream, because the first type of network coded data packet corresponding to the first type of data stream is initially transmitted at the receiving end, the transmitting end only needs to transmit a small amount of the network code of the second type of data stream to the receiving end, and the receiving end The second type of data stream can be decoded and decoded correctly. Therefore, in the condition of limited transmission capacity, parallel fast transmission of multiple data streams is realized, and data transmission in the network is improved. The efficiency of the loss.
如上所述的数据传输方法, 其中, 所述对所述第二类数据流进行联 合编码, 生成第二类网络编码数据包, 可以包括:  The data transmission method as described above, wherein the jointly encoding the second type of data stream to generate the second type of network coded data packet may include:
利用联合编码公式对所述第二类数据流进行联合编码, 所述联合编 码公式为  Coding the second type of data stream by using a joint coding formula, where the joint coding formula is
Y = H * S , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 例如, Y = H * S , where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream. E.g,
s = a\,\ αι,: s = a \,\ α ι,:
Figure imgf000010_0001
Figure imgf000010_0002
yt i
Figure imgf000010_0001
Figure imgf000010_0002
y t i
Y = H*S , 即 Y = H*S, ie
Figure imgf000011_0001
Figure imgf000011_0001
其中, n为数据流的个数, ·.·, 4为第 1个数据流的原始编码数据包, , ,…, 为第 2个数据流的原始编码数据包, 4为第 n个数据流的 原始编码数据包, ^, ,;^ ,;^",^, ,^1为将原始编码 数据包与一系数矩阵相乘生成的联合编码数据包。 Where n is the number of data streams, ·.·, 4 is the original encoded data packet of the first data stream, , ,..., is the original encoded data packet of the second data stream, and 4 is the nth data stream The original encoded data packet, ^, , ;^ , ;^", ^, , ^ 1 is a joint encoded data packet generated by multiplying the original encoded data packet by a coefficient matrix.
具体的, 利用上述公式对 n个数据流进行联合编码, 其中, 第 1个数 据流的原始编码数据包为 M个, 第 2个数据流的原始编码数据包为 N个, 第 n 个数据流的原始编码数据包为 X 个。 生成的联合编码数据包中, , ,…, 为第 1个数据流单独对应的 k个网络编码数据包: ,j2V.., 为第 2个数据流单独对应的 p个网络编码数据包, l",j2", ·.·,; 为第 η个数据流单 独对应的 t个网络编码数据包, yi"+1,j2"+ .., +1为所述的 η个数据流共同对应 的 q个网络编码数据包。 矩阵系数可以根据不同的传输环境和传输需求自 定义, 因此, 可以实现对多个数据流的并行快速传输, 提高网络中数据传 输的效率。 如上所述的数据传输方法, 其中, 所述将所述第一类网络编码数据 包、 第二类网络编码数据包传送给接收端, 可以包括: Specifically, the n data streams are jointly encoded by using the above formula, where the first encoded data packet of the first data stream is M, and the original encoded data packet of the second data stream is N, the nth data stream. The original encoded data packet is X. The generated joint coded data packet, , ,..., k network coded data packets corresponding to the first data stream separately: , j 2 V.., p network coded data packets corresponding to the second data flow separately , l ",j 2 ", ···,; t network-encoded data packets corresponding to the nth data stream, yi " +1 , j 2 " + .., +1 is the n data Flow correspondence q network coded packets. The matrix coefficients can be customized according to different transmission environments and transmission requirements. Therefore, parallel fast transmission of multiple data streams can be realized, and the efficiency of data transmission in the network can be improved. The data transmission method as described above, wherein the transmitting the first type of network coded data packet and the second type of network coded data packet to the receiving end may include:
将所述第一类网络编码数据包、 第二类网络编码数据包并行传送给 接收端。  The first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end in parallel.
具体的,第一类网络编码数据包是对应于第一类数据流的网络编码, 第二类网络编码数据包是对应于第二类数据流的网络编码, 第二类数据 流作为需要重新传送的数据流, 发送端通常只需要向接收端补充发送较 少的第二类数据流信息, 接收端即可正确解码, 译出相应的数据流, 因 此, 第二类网络编码数据包的大小通常较小, 可以将第二类网络编码数 据包和第一类网络编码数据包打包成一个传输包传输, 以实现对多个数 据流的并行快速传输, 提高网络中数据传输的效率。  Specifically, the first type of network coded data packet is a network code corresponding to the first type of data stream, the second type of network coded data packet is a network code corresponding to the second type of data stream, and the second type of data stream is required to be retransmitted. The data stream, the sender usually only needs to send the second type of data stream information to the receiver, and the receiver can correctly decode and decode the corresponding data stream. Therefore, the size of the second type of network coded data packet is usually Smaller, the second type of network coded data packet and the first type of network coded data packet can be packaged into one transport packet transmission, so as to realize parallel fast transmission of multiple data streams, and improve the efficiency of data transmission in the network.
图 3与为本发明数据传输方法实施例二的流程图, 如图 3所示, 本 实施例的方法可以包括以下内容。  FIG. 3 is a flowchart of Embodiment 2 of the data transmission method of the present invention. As shown in FIG. 3, the method in this embodiment may include the following content.
S 301、 接收第一类网络编码数据包、 第二类网络编码数据包, 第一 类网络编码数据包为第一类数据流对应的网络编码数据包, 第一类数据 流为初传数据流, 第二类网络编码数据包为第二类数据流对应的网络编 码数据包, 第二类数据流为需要重新传送的数据流, 第一类数据流、 第 二类数据流包含任意数量的数据流。  S 301, receiving a first type of network coded data packet, and a second type of network coded data packet, where the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream, and the first type of data stream is an initial data stream. The second type of network coded data packet is a network coded data packet corresponding to the second type of data stream, and the second type of data stream is a data stream that needs to be retransmitted, and the first type of data stream and the second type of data stream contain any quantity of data. flow.
具体的, 接收端接收发送端发送的数据流, 包括初次传输的数据流 和重新传送的数据流, 第一类数据流为初传数据流, 对应的网络编码数 据包为第一类网络编码数据包, 第二类数据流为需要重新传送的数据流, 对应的网络编码数据包为第二类网络编码数据包。  Specifically, the receiving end receives the data stream sent by the sending end, including the first transmitted data stream and the retransmitted data stream, where the first type of data stream is an initial data stream, and the corresponding network coded data packet is a first type of network coded data. Packet, the second type of data stream is a data stream that needs to be retransmitted, and the corresponding network coded data packet is a second type of network coded data packet.
S 302、 对接收的第一类网络编码数据包进行独立解码, 以解码译出 第一类数据流, 对接收的第二类网络编码数据包和第二类数据流对应的 第一类网络编码数据包进行联合解码, 以解码译出第二类数据流。  S 302. Perform independent decoding on the received first type network coded data packet, to decode and decode the first type of data stream, and to receive the first type of network coded data packet and the first type of network code corresponding to the first type of network code. The data packet is jointly decoded to decode and decode the second type of data stream.
具体的, 第一类网络编码数据包为发送端对第一类数据流的原始编 码进行独立编码生成的网络编码, 因此, 接收端也需要对其接收的第一 类网络编码数据包进行独立解码, 以译出对应的第一类数据流。 第二类 网络编码数据包为发送端对第二类数据流的原始编码进行联合编码生成 的网络编码, 第二类网络编码数据包为第二类数据流对应的网络编码数 据包, 第二类数据流为需要重新传送的数据流, 接收端已存在其先前接 收的第二类数据流初次传输的网络编码数据包, 因此, 接收端需要对其 接收的第二类网络编码数据包和第二类数据流对应的第一类网络编码数 据包进行联合解码, 以译出对应的第二类数据流。 Specifically, the first type of network coded data packet is a network code generated by the transmitting end to independently encode the original code of the first type of data stream, and therefore, the receiving end also needs to receive the first The class network coded data packets are independently decoded to translate the corresponding first type of data stream. The second type of network coded data packet is a network code generated by the sender to jointly encode the original code of the second type of data stream, and the second type of network coded data packet is a network coded data packet corresponding to the second type of data stream, and the second type The data stream is a data stream that needs to be retransmitted, and the network coded data packet that the second type of data stream previously received by the receiving end already exists at the receiving end, therefore, the receiving end needs to receive the second type of network encoded data packet and the second The first type of network coded data packet corresponding to the class data stream is jointly decoded to decode the corresponding second type of data stream.
本实施例中, 在发送端获取作为初传数据流的第一类数据流和作为 需要重新传送的数据流的第二类数据流, 并通过对第一类数据流进行独 立编码, 对第二类数据流进行联合编码, 将对应生成的第一类网络编码 数据包、 第二类网络编码数据包传送给接收端后, 接收端通过对第一类 网络编码数据包进行独立解码, 译出第一类数据流, 对第二类网络编码 数据包和第二类数据流对应的第一类网络编码数据包进行联合解码, 译 出第二类数据流, 由于在接收端已经存在第二类数据流初次传输时对应 的第一类网络编码数据包, 发送端只需向接收端再次传送少量的第二类 数据流的网络编码, 接收端即可正确解码译出第二类数据流, 因此, 在 有限的传输容量条件下, 实现了对多个数据流的并行快速传输, 提高了 网络中数据传输的效率。  In this embodiment, the first type of data stream that is the initial data stream and the second type of data stream that is the data stream that needs to be retransmitted are acquired at the transmitting end, and the second type of data stream is independently encoded, and the second type is used. The class data stream is jointly coded, and the corresponding first type network coded data packet and the second type network coded data packet are transmitted to the receiving end, and the receiving end independently decodes the first type network coded data packet, and the translated A type of data stream, jointly decoding the second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream, and decoding the second type of data stream, because the second type of data already exists at the receiving end The first type of network coded data packet corresponding to the initial transmission of the stream, the sender only needs to transmit a small amount of the network code of the second type of data stream to the receiving end, and the receiving end can correctly decode and decode the second type of data stream. Therefore, Under the condition of limited transmission capacity, parallel fast transmission of multiple data streams is realized, and the efficiency of data transmission in the network is improved.
如上所述的数据传输方法, 其中, 所述对接收的所述第二类网络编 码数据包和第二类数据流对应的第一类网络编码数据包进行联合解码, 可以包括:  The data transmission method as described above, wherein the jointly decoding the received first type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream may include:
利用联合编码公式的逆运算对接收的所述第二类网络编码数据包和 第二类数据流对应的第一类网络编码数据包进行联合解码, 所述联合编 码公式为  The received second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded by using an inverse operation of the joint coding formula, where the joint coding formula is
Υ = Η · Ξ , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 例如, V Υ = Η · Ξ , where Y is the representation matrix of the output network encoded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original encoded data packet of the data stream. E.g, V
Figure imgf000014_0001
αι,ι ai,: 0
Figure imgf000014_0001
α ι,ι a i,: 0
Figure imgf000014_0002
Figure imgf000014_0002
AM … bq,M+N+.., b AM ... b q , M+N+ .., b
- 12- ^ ¾ς½ ¾: ¾ρ V………… 2221 - 12- ^ 3⁄4ς1⁄2 3⁄4: 3⁄4ρ V............ 2221
Y  Y
Y = H*S , 即
Figure imgf000015_0001
Y = H*S, ie
Figure imgf000015_0001
其中,n为数据流的个数, 44·.·, 4为第 1个数据流的原始编码数据包 ^为第 2个数据流的原始编码数据包, 为第 n个数据流的 原始编码数据包, ,… ,3^2, 2 2,·..,3¾", 2 .., 02"+1,·..,3Τ为将原始编码 数据包与一系数矩阵相乘生成的联合编码数据包。 具体的, 上述公式是对 η个数据流进行的联合编码, 其中, 第 1个数 据流的原始编码数据包为 Μ个, 第 2个数据流的原始编码数据包为 Ν个, 第 η 个数据流的原始编码数据包为 X 个。 生成的联合编码数据包中, , ,…, 为第 1个数据流单独对应的 k个网络编码数据包: ι 2, 2 2,·.., 为第 2个数据流单独对应的 ρ个网络编码数据包, l",j2", ·.·,; 为第 η个数据流单 独对应的 t个网络编码数据包, yi"+1,j2"+ .., +1为所述的 n个数据流共同对应 的 q个网络编码数据包。 矩阵系数是根据不同的传输环境和传输需求自定 义的参数变量, 因此, 可以根据上述公式的逆运算对接收的第二类网络编 码数据包和第二类数据流对应的第一类网络编码数据包进行联合解码,译 出第二类数据流, 最终实现完成对多个数据流的并行快速传输, 提高了网 络中数据传输的效率。 Where n is the number of data streams, 44·.·, 4 is the original encoded data packet of the first data stream ^ is the original encoded data packet of the second data stream, which is the original encoded data packet of the nth data stream, , ..., 3^ 2 , 2 2 , ·.., 33⁄4", 2 .., 0 2 " + 1 ,·.., 3Τ is a joint encoded data packet generated by multiplying the original encoded data packet by a coefficient matrix. Specifically, the above formula is joint coding of n data streams, where the original encoded data packet of the first data stream is one, and the original encoded data packet of the second data stream is one, the nth data The original encoded packets of the stream are X. The generated joint encoded data packet, , ,..., k network encoded data packets corresponding to the first data stream separately: ι 2 , 2 2 ,·.., ρ networks corresponding to the second data stream separately Encoded data packet, l ",j 2 ", ···,; t network-encoded data packets corresponding to the nth data stream, yi " +1 , j 2 " + .., +1 is the stated q network coded data packets corresponding to n data streams. The matrix coefficient is a parameter variable customized according to different transmission environments and transmission requirements. Therefore, the received second class network coded data packet and the first type network coded data corresponding to the second type of data stream may be inversed according to the above formula. The packet is jointly decoded, and the second type of data stream is decoded, and finally, the parallel fast transmission of multiple data streams is completed, and the efficiency of data transmission in the network is improved.
图 4为本发明数据传输方法实施例三的流程图, 如图 4所示, 在图 3所示本发明方法实施例二的基础上, 在 S302所述对接收的所述第一类 网络编码数据包进行独立解码, 以解码译出第一类数据流, 对接收的所 述第二类网络编码数据包和第二类数据流对应的第一类网络编码数据包 进行联合解码, 以解码译出第二类数据流之后, 本实施例的方法还可以 包括以下内容。  4 is a flowchart of a third embodiment of a data transmission method according to the present invention. As shown in FIG. 4, based on the second embodiment of the method of the present invention shown in FIG. 3, the received first type network coding is performed in S302. The data packet is independently decoded to decode and decode the first type of data stream, and the received second type network coded data packet and the first type network coded data packet corresponding to the second type of data stream are jointly decoded to decode the decoded data packet. After the second type of data stream, the method of this embodiment may further include the following content.
S401、 判断是否正确解码译出第一类网络编码数据包或第二类网络 编码数据包对应的数据流, 如果为否, 则发送重传数据流的请求。 S401. Determine whether the first type of network coded data packet or the second type of network is correctly decoded and decoded. The data stream corresponding to the encoded data packet, if not, the request to retransmit the data stream.
具体的, 接收端对其接收的每个第一类网络编码数据包进行独立解 码, 并判断是否正确解码译出其对应的数据流, 如果为是, 则译出其对 应的数据流, 如果为否, 则向发送端发送重传该数据流的请求。 接收端 对其接收的每个第二类网络编码数据包和第二类数据流对应的第一类网 络编码数据包进行联合解码, 并判断是否正确解码译出其对应的数据流, 如果为是, 则译出其对应的数据流, 如果为否, 则向发送端发送重传该 数据流的请求。  Specifically, the receiving end independently decodes each of the first type network coded data packets received by the receiving end, and determines whether the corresponding data stream is correctly decoded and decoded. If yes, the corresponding data stream is decoded, if No, a request to retransmit the data stream is sent to the sender. The receiving end jointly decodes each type 2 network coded data packet received by the second type and the first type of network coded data packet corresponding to the second type of data stream, and determines whether the corresponding data stream is correctly decoded and decoded, if yes Then, the corresponding data stream is translated, and if not, the sender is sent a request to retransmit the data stream.
本实施例中, 在发送端获取作为初传数据流的第一类数据流和作为 需要重新传送的数据流的第二类数据流, 并通过对第一类数据流进行独 立编码, 对第二类数据流进行联合编码, 将对应生成的第一类网络编码 数据包、 第二类网络编码数据包传送给接收端后, 接收端通过对第一类 网络编码数据包进行独立解码, 对第二类网络编码数据包和第二类数据 流对应的第一类网络编码数据包进行联合解码, 并判断是否正确解码译 出第一类网络编码数据包或第二类网络编码数据包对应的数据流, 如果 为是, 则译出其对应的数据流, 如果为否, 则发送重传其对应的数据流 的请求, 进而确保了对每个数据流的正确传输。 由于在接收端已经存在 第二类数据流初次传输时对应的第一类网络编码数据包, 发送端只需向 接收端再次传送少量的第二类数据流的网络编码, 接收端即可正确解码 译出第二类数据流, 因此, 在有限的传输容量条件下, 即确保数据流的 传输质量, 又实现了对多个数据流的并行快速传输, 提高了网络中数据 传输的效率。  In this embodiment, the first type of data stream that is the initial data stream and the second type of data stream that is the data stream that needs to be retransmitted are acquired at the transmitting end, and the second type of data stream is independently encoded, and the second type is used. The class data stream is jointly coded, and the corresponding first type network coded data packet and the second type network coded data packet are transmitted to the receiving end, and the receiving end independently decodes the first type network coded data packet, and the second The class network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded, and it is determined whether the data stream corresponding to the first type of network coded data packet or the second type of network coded data packet is correctly decoded and decoded. If yes, the corresponding data stream is translated, and if not, a request to retransmit the corresponding data stream is sent, thereby ensuring correct transmission of each data stream. Since the first type of network coded data packet corresponding to the first type of data stream is already transmitted at the receiving end, the transmitting end only needs to transmit a small amount of the network code of the second type of data stream to the receiving end, and the receiving end can correctly decode the network packet. The second type of data stream is translated. Therefore, under the condition of limited transmission capacity, that is, ensuring the transmission quality of the data stream, parallel fast transmission of multiple data streams is realized, and the efficiency of data transmission in the network is improved.
图 5为本发明数据传输装置实施例一的结构示意图, 如图 5所示, 本实施例的装置可以包括:获取模块 501、编码模块 502和传送模块 503。 其中, 获取模块 501用于获取第一类数据流和第二类数据流, 所述第一 类数据流为初传数据流, 所述第二类数据流为需要重新传送的数据流, 所述第一类数据流、 第二类数据流包含任意数量的数据流; 编码模块 502 用于对所述第一类数据流进行独立编码, 生成第一类网络编码数据包, 对所述第二类数据流进行联合编码, 生成第二类网络编码数据包, 单个 所述第二类网络编码数据包与多个所述第二类数据流对应, 所述独立编 码指对单个数据流进行编码, 每个数据流对应一组网络编码数据包, 所 述联合编码指对多个数据流进行编码, 多个数据流对应一组网络编码数 据包; 传送模块 503 用于将所述第一类网络编码数据包、 第二类网络编 码数据包传送给接收端。 FIG. 5 is a schematic structural diagram of Embodiment 1 of a data transmission apparatus according to the present invention. As shown in FIG. 5, the apparatus in this embodiment may include: an obtaining module 501, an encoding module 502, and a transmitting module 503. The obtaining module 501 is configured to obtain the first type of data stream and the second type of data stream, where the first type of data stream is an initial data stream, and the second type of data stream is a data stream that needs to be retransmitted, The first type of data stream, the second type of data stream includes any number of data streams; the encoding module 502 is configured to independently encode the first type of data stream, and generate a first type of network coded data packet, for the second type The data stream is jointly encoded to generate a second type of network coded data packet, and the single second type of network coded data packet corresponds to a plurality of the second type of data stream, and the independent code refers to encoding a single data stream, and each The data streams correspond to a set of network coded data packets, and the joint code refers to encoding a plurality of data streams, and the plurality of data streams correspond to a set of network code numbers The transmitting module 503 is configured to transmit the first type network encoded data packet and the second type network encoded data packet to the receiving end.
本实施例的装置可以用于执行图 2 所示方法实施例的方法, 其实现 原理和所要达到的技术效果类似, 在此不再赘述。  The apparatus of this embodiment may be used to perform the method of the method embodiment shown in FIG. 2, and the implementation principle is similar to the technical effect to be achieved, and details are not described herein again.
如上所述的装置, 其中, 编码模块 502 , 具体可以用于利用联合编 码公式对所述第二类数据流进行联合编码, 所述联合编码公式为  The apparatus as described above, wherein the encoding module 502 is specifically configured to jointly encode the second type of data stream by using a joint coding formula, where the joint coding formula is
Υ = Η · Ξ , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 Υ = Η · Ξ , where Y is the representation matrix of the output network encoded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original encoded data packet of the data stream.
本实施例的装置, 其实现原理和所要达到的技术效果上文中已有论 述, 在此不再赘述。  The implementation principle of the device in this embodiment and the technical effects to be achieved are discussed above, and are not described herein again.
如上所述的装置, 其中, 传送模块 503 , 具体可以用于将所述第一 类网络编码数据包、 第二类网络编码数据包并行传送给接收端。  The device as described above, wherein the transmitting module 503 is specifically configured to transmit the first type network coded data packet and the second type network coded data packet to the receiving end in parallel.
本实施例的装置, 其实现原理和所要达到的技术效果上文中已有论 述, 在此不再赘述。  The implementation principle of the device in this embodiment and the technical effects to be achieved are discussed above, and are not described herein again.
图 6为本发明数据传输装置实施例二的结构示意图, 如图 6所示, 本实施例的装置可以包括: 接收模块 601和解码模块 602。 其中,  FIG. 6 is a schematic structural diagram of Embodiment 2 of the data transmission apparatus of the present invention. As shown in FIG. 6, the apparatus of this embodiment may include: a receiving module 601 and a decoding module 602. among them,
接收模块 601 用于接收第一类网络编码数据包、 第二类网络编码数 据包, 所一类网络编码数据包为第一类数据流对应的网络编码数据包, 所述第一类数据流为初传数据流, 所述第二类网络编码数据包为第二类 数据流对应的网络编述第码数据包, 所述第二类数据流为需要重新传送 的数据流, 所述第一类数据流、 第二类数据流包含任意数量的数据流; 解码模块 602 用于对接收的所述第一类网络编码数据包进行独立解码, 以解码译出第一类数据流, 对接收的所述第二类网络编码数据包和第二 类数据流对应的第一类网络编码数据包进行联合解码, 以解码译出第二 类数据流。  The receiving module 601 is configured to receive the first type of network coded data packet and the second type of network coded data packet, where the network coded data packet is a network coded data packet corresponding to the first type of data flow, where the first type of data flow is An initial data stream, the second type of network coded data packet is a coded data packet for a network corresponding to the second type of data flow, and the second type of data flow is a data flow that needs to be retransmitted, the first type The data stream, the second type of data stream includes any number of data streams; the decoding module 602 is configured to independently decode the received first type of network coded data packet, to decode and decode the first type of data stream, and to receive the received data. The second type of network coded data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded to decode and decode the second type of data stream.
本实施例的装置可以用于执行图 3所示方法实施例的方法, 其实现 原理和所要达到的技术效果类似, 在此不再赘述。  The apparatus of this embodiment may be used to perform the method of the method embodiment shown in FIG. 3, and the implementation principle is similar to the technical effect to be achieved, and details are not described herein again.
如上所述的装置, 其中, 解码模块 602 , 具体可以用于利用联合编 码公式的的逆运算对接收的所述第二类网络编码数据包和第二类数据流 对应的第一类网络编码数据包进行联合解码, 所述联合编码公式为 Y = H * S , 其中, Y为输出的网络编码数据包的表示矩阵, Η为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 The device as described above, wherein the decoding module 602 is specifically configured to use the inverse operation of the joint coding formula to receive the first type of network coded data packet and the first type of network coded data corresponding to the second type of data stream. The packet is jointly decoded, and the joint coding formula is Y = H * S , where Y is the representation matrix of the output network encoded data packet, Η is the coding coefficient matrix, and S is the representation matrix of the original encoded data packet of the data stream.
本实施例的装置, 其实现原理和所要达到的技术效果上文中已有论 述, 在此不再赘述。  The implementation principle of the device in this embodiment and the technical effects to be achieved are discussed above, and are not described herein again.
图 7为本发明数据传输装置实施例三的结构示意图, 如图 7所示, 本实施例的装置还可以包括: 判断模块 701。 其中,  FIG. 7 is a schematic structural diagram of Embodiment 3 of the data transmission apparatus of the present invention. As shown in FIG. 7, the apparatus of this embodiment may further include: a determining module 701. among them,
判断模块 701 , 用于判断是否正确解码译出第一类网络编码数据包 或第二类网络编码数据包对应的数据流, 如果为否, 则发送重传所述数 据流的请求。  The determining module 701 is configured to determine whether to correctly decode the data stream corresponding to the first type network coded data packet or the second type network coded data packet, and if not, send a request for retransmitting the data flow.
本实施例的装置可以用于执行图 4 所示方法实施例的方法, 其实现 原理和所要达到的技术效果类似, 在此不再赘述。  The apparatus of this embodiment may be used to perform the method of the method embodiment shown in FIG. 4, and the implementation principle is similar to the technical effect to be achieved, and details are not described herein again.
图 8 为本发明实施例提供的数据传输设备实施例一的结构示意图, 该数据传输设备包括至少一个处理器 801 (例如 CPU ) , 存储器 803 , 和 至少一个通信总线 804 , 用于实现装置之间的连接通信。 处理器 8 01用于 执行存储器 803 中存储的可执行模块, 例如计算机程序。 存储器 803可 能包 高 i4 才几^ "耳又 ( RAM: Random Acce s s Memo ry ) , A 能 ϋ 包括非不稳定的存储器 ( non-vo l a t i l e memory ) , 例如至少一个磁盘存 储器。  FIG. 8 is a schematic structural diagram of Embodiment 1 of a data transmission device according to an embodiment of the present invention. The data transmission device includes at least one processor 801 (for example, a CPU), a memory 803, and at least one communication bus 804, which are used to implement devices. Connection communication. The processor 8 01 is for executing an executable module, such as a computer program, stored in the memory 803. The memory 803 may include an i4 chip (RAM: Random Acce s s Memo ry), and the A device may include a non-volatile memory (e.g., non-vo l a t i l e memory), such as at least one disk memory.
在一些实施方式中, 存储器 803存储了程序 805 , 程序 805 可以被 处理器 801执行, 这个程序包括执行一种数据传输方法, 该方法包括: 获取第一类数据流和第二类数据流, 所述第一类数据流为初传数据 流, 所述第二类数据流为需要重新传送的数据流, 所述第一类数据流、 第二类数据流包含任意数量的数据流;  In some embodiments, the memory 803 stores a program 805, and the program 805 can be executed by the processor 801. The program includes executing a data transmission method, the method comprising: acquiring a first type of data stream and a second type of data stream, The first type of data stream is an initial data stream, the second type of data stream is a data stream that needs to be retransmitted, and the first type of data stream and the second type of data stream comprise any number of data streams;
对所述第一类数据流进行独立编码, 生成第一类网络编码数据包, 对所述第二类数据流进行联合编码, 生成第二类网络编码数据包, 单个 所述第二类网络编码数据包与多个所述第二类数据流对应, 所述独立编 码指对单个数据流进行编码, 每个数据流对应一组网络编码数据包, 所 述联合编码指对多个数据流进行编码, 多个数据流对应一组网络编码数 据包;  Independently encoding the first type of data stream, generating a first type of network coded data packet, jointly coding the second type of data stream, generating a second type of network coded data packet, and the single type of the second type of network coding The data packet corresponds to a plurality of the second type of data streams, and the independent coding refers to encoding a single data stream, each data stream corresponding to a group of network coded data packets, and the joint coding means encoding multiple data streams. , the plurality of data streams corresponding to a group of network coded data packets;
将所述第一类网络编码数据包、 第二类网络编码数据包传送给接收 端。 Transmitting the first type of network coded data packet and the second type of network coded data packet to receive End.
上述执行数据传输方法的程序, 优选地, 所述对所述第二类数据流 进行联合编码, 生成第二类网络编码数据包, 包括:  Preferably, the program for performing the data transmission method is configured to jointly encode the second type of data stream to generate a second type of network coded data packet, including:
利用联合编码公式对所述第二类数据流进行联合编码, 所述联合编 码公式为  Coding the second type of data stream by using a joint coding formula, where the joint coding formula is
Υ = Η · Ξ ,  Υ = Η · Ξ ,
其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。  Where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
上述执行数据传输方法的程序, 优选地, 所述将所述第一类网络编 码数据包、 第二类网络编码数据包传送给接收端, 包括:  The program for performing the data transmission method, preferably, the transmitting the first type of network coded data packet and the second type of network coded data packet to the receiving end, including:
将所述第一类网络编码数据包、 第二类网络编码数据包并行传送给 接收端。  The first type of network coded data packet and the second type of network coded data packet are transmitted to the receiving end in parallel.
图 9 为本发明实施例提供的数据传输设备实施例二的结构示意图, 该数据传输设备包括至少一个处理器 901 (例如 CPU ) , 存储器 903 , 和 至少一个通信总线 904 , 用于实现装置之间的连接通信。 处理器 9 01用于 执行存储器 903 中存储的可执行模块, 例如计算机程序。 存储器 903可 能包 高 i4 才几^ "耳又 ( RAM: Random Acce s s Memo ry ) , A 能 ϋ 包括非不稳定的存储器 ( non-vo l a t i l e memory ) , 例如至少一个磁盘存 储器。  FIG. 9 is a schematic structural diagram of Embodiment 2 of a data transmission device according to an embodiment of the present invention. The data transmission device includes at least one processor 901 (eg, a CPU), a memory 903, and at least one communication bus 904, configured to implement Connection communication. The processor 9 01 is for executing an executable module, such as a computer program, stored in the memory 903. The memory 903 may include an i4 chip (RAM: Random Acce s s Memo ry), and the A device may include a non-volatile memory (e.g., non-vo l a t i l e memory), such as at least one disk memory.
在一些实施方式中, 存储器 903存储了程序 905 , 程序 905 可以被 处理器 901执行, 这个程序包括执行一种数据传输方法, 该方法包括: 接收第一类网络编码数据包、 第二类网络编码数据包, 所述第一类 网络编码数据包为第一类数据流对应的网络编码数据包, 所述第一类数 据流为初传数据流, 所述第二类网络编码数据包为第二类数据流对应的 网络编码数据包, 所述第二类数据流为需要重新传送的数据流, 所述第 一类数据流、 第二类数据流包含任意数量的数据流;  In some embodiments, the memory 903 stores a program 905 that can be executed by the processor 901. The program includes executing a data transmission method, the method comprising: receiving a first type of network encoded data packet, a second type of network coding a packet, the first type of network coded data packet is a network coded data packet corresponding to the first type of data stream, the first type of data stream is an initial data stream, and the second type of network coded data packet is a second a network coded data packet corresponding to the class data stream, the second type of data stream is a data stream that needs to be retransmitted, and the first type of data stream and the second type of data stream comprise any number of data streams;
对接收的所述第一类网络编码数据包进行独立解码, 以解码译出第 一类数据流, 对接收的所述第二类网络编码数据包和第二类数据流对应 的第一类网络编码数据包进行联合解码, 以解码译出第二类数据流。  The received first type of network coded data packet is independently decoded to decode and decode the first type of data stream, and the received first type of network coded data packet and the second type of data stream corresponding to the first type of network The encoded data packet is jointly decoded to decode and decode the second type of data stream.
上述执行数据传输方法的程序, 优选地, 所述对接收的所述第二类 网络编码数据包和第二类数据流对应的第一类网络编码数据包进行联合 解码, 包括: 利用联合编码公式的的逆运算对接收的所述第二类网络编码数据包 和第二类数据流对应的第一类网络编码数据包进行联合解码, 所述联合 编码公式为 The program for performing the data transmission method, preferably, the jointly decoding the received second type network coded data packet and the first type network coded data packet corresponding to the second type of data stream, including: Combining the received second type network coded data packet with the first type network coded data packet corresponding to the second type of data stream by using an inverse operation of the joint coding formula, where the joint coding formula is
Υ = Η · Ξ ,  Υ = Η · Ξ ,
其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。  Where Y is the representation matrix of the output network coded data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coded data packet of the data stream.
上述执行数据传输方法的程序, 优选地, 在所述对接收的所述第一 类网络编码数据包进行独立解码, 以解码译出第一类数据流, 对接收的 所述第二类网络编码数据包和第二类数据流对应的第一类网络编码数据 包进行联合解码, 以解码译出第二类数据流之后, 还包括:  Preferably, the program for performing the data transmission method performs independent decoding on the received first type network coded data packet to decode and decode the first type of data stream, and encode the received second type network code. The data packet and the first type of network coded data packet corresponding to the second type of data stream are jointly decoded to decode and decode the second type of data stream, and further includes:
判断是否正确解码译出第一类网络编码数据包或第二类网络编码数 据包对应的数据流, 如果为否, 则发送重传所述数据流的请求。  It is determined whether the data stream corresponding to the first type of network coded data packet or the second type of network coded data packet is correctly decoded and decoded, and if not, the request for retransmitting the data flow is sent.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案 进行修改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替 换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和 范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 书 claims
1、 一种数据传输方法, 其特征在于, 包括: 1. A data transmission method, characterized by including:
获取第一类数据流和第二类数据流, 所述第一类数据流为初传数据 流, 所述第二类数据流为需要重新传送的数据流, 所述第一类数据流、 第二类数据流包含任意数量的数据流; Obtain the first type of data stream and the second type of data stream. The first type of data stream is the initial transmission data stream. The second type of data stream is the data stream that needs to be retransmitted. The first type of data stream and the second type of data stream are obtained. Type 2 data flows include any number of data flows;
对所述第一类数据流进行独立编码, 生成第一类网络编码数据包, 对所述第二类数据流进行联合编码, 生成第二类网络编码数据包, 单个 所述第二类网络编码数据包与多个所述第二类数据流对应, 所述独立编 码指对单个数据流进行编码, 每个数据流对应一组网络编码数据包, 所 述联合编码指对多个数据流进行编码, 多个数据流对应一组网络编码数 据包; The first type of data stream is independently coded to generate a first type of network coding data packet, the second type of data stream is jointly coded to generate a second type of network coding data packet, and the second type of network coding data packet is individually coded. The data packet corresponds to a plurality of the second type data streams, the independent encoding refers to encoding a single data stream, each data stream corresponds to a group of network coding data packets, and the joint encoding refers to encoding multiple data streams , multiple data streams correspond to a set of network coding data packets;
将所述第一类网络编码数据包、 第二类网络编码数据包传送给接收 端。 The first type of network coding data packet and the second type of network coding data packet are sent to the receiving end.
2、 根据权利要求 1所述的方法, 其特征在于, 所述对所述第二类数 据流进行联合编码, 生成第二类网络编码数据包, 包括: 2. The method according to claim 1, characterized in that, jointly encoding the second type of data stream to generate a second type of network coding data packet includes:
利用联合编码公式对所述第二类数据流进行联合编码, 所述联合编 码公式为 The second type of data stream is jointly encoded using a joint encoding formula. The joint encoding formula is
Υ = Η · Ξ , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 Υ = Η·Ξ, where Y is the representation matrix of the output network coding data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coding data packet of the data stream.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述将所述第一 类网络编码数据包、 第二类网络编码数据包传送给接收端, 包括: 3. The method according to claim 1 or 2, characterized in that said transmitting the first type of network coding data packet and the second type of network coding data packet to the receiving end includes:
将所述第一类网络编码数据包、 第二类网络编码数据包并行传送给 接收端。 The first type of network coding data packet and the second type of network coding data packet are transmitted to the receiving end in parallel.
4、 一种数据传输方法, 其特征在于, 包括: 4. A data transmission method, characterized by including:
接收第一类网络编码数据包、 第二类网络编码数据包, 所述第一类 网络编码数据包为第一类数据流对应的网络编码数据包, 所述第一类数 据流为初传数据流, 所述第二类网络编码数据包为第二类数据流对应的 网络编码数据包, 所述第二类数据流为需要重新传送的数据流, 所述第 一类数据流、 第二类数据流包含任意数量的数据流; 对接收的所述第一类网络编码数据包进行独立解码, 以解码译出第 一类数据流, 对接收的所述第二类网络编码数据包和第二类数据流对应 的第一类网络编码数据包进行联合解码, 以解码译出第二类数据流。 Receive the first type of network coding data packet and the second type of network coding data packet. The first type of network coding data packet is the network coding data packet corresponding to the first type of data flow. The first type of data flow is the initial transmission data. flow, the second type of network coding data packet is a network coding data packet corresponding to the second type of data flow, the second type of data flow is a data flow that needs to be retransmitted, the first type of data flow, the second type of data flow A data stream contains any number of data streams; Independently decode the received first-type network coding data packet to decode the first-type data stream, and decode the received second-type network coding data packet and the first-type network corresponding to the second-type data flow. The encoded data packets are jointly decoded to decode the second type of data stream.
5、 根据权利要求 4所述的方法, 其特征在于, 所述对接收的所述第 二类网络编码数据包和第二类数据流对应的第一类网络编码数据包进行 联合解码, 包括: 5. The method according to claim 4, characterized in that, jointly decoding the received second type of network coding data packet and the first type of network coding data packet corresponding to the second type of data stream includes:
利用联合编码公式的的逆运算对接收的所述第二类网络编码数据包 和第二类数据流对应的第一类网络编码数据包进行联合解码, 所述联合 编码公式为 The inverse operation of the joint coding formula is used to jointly decode the received second type network coding data packet and the first type network coding data packet corresponding to the second type data stream. The joint coding formula is
Υ = Η · Ξ , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 Υ = Η·Ξ, where Y is the representation matrix of the output network coding data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coding data packet of the data stream.
6、 根据权利要求 4或 5 所述的方法, 其特征在于, 在所述对接收 的所述第一类网络编码数据包进行独立解码, 以解码译出第一类数据流, 对接收的所述第二类网络编码数据包和第二类数据流对应的第一类网络 编码数据包进行联合解码, 以解码译出第二类数据流之后, 还包括: 6. The method according to claim 4 or 5, characterized in that, during the step of independently decoding the received first type network coding data packet to decode the first type data stream, all the received first type network coding data packets are decoded. The second type of network coding data packet and the first type of network coding data packet corresponding to the second type of data stream are jointly decoded to decode and interpret the second type of data stream, which also includes:
判断是否正确解码译出第一类网络编码数据包或第二类网络编码数 据包对应的数据流, 如果为否, 则发送重传所述数据流的请求。 Determine whether the data stream corresponding to the first type of network coding data packet or the second type of network coding data packet is correctly decoded, and if not, send a request to retransmit the data flow.
7、 一种数据传输装置, 其特征在于, 包括: 7. A data transmission device, characterized by including:
获取模块, 用于获取第一类数据流和第二类数据流, 所述第一类数 据流为初传数据流, 所述第二类数据流为需要重新传送的数据流, 所述 第一类数据流、 第二类数据流包含任意数量的数据流; The acquisition module is used to obtain the first type of data stream and the second type of data stream. The first type of data stream is the initial transmission data stream. The second type of data stream is the data stream that needs to be retransmitted. The first type of data stream is the data stream that needs to be retransmitted. Class data flow, the second type of data flow contains any number of data flows;
编码模块, 用于对所述第一类数据流进行独立编码, 生成第一类网 络编码数据包, 对所述第二类数据流进行联合编码, 生成第二类网络编 码数据包, 单个所述第二类网络编码数据包与多个所述第二类数据流对 应, 所述独立编码指对单个数据流进行编码, 每个数据流对应一组网络 编码数据包, 所述联合编码指对多个数据流进行编码, 多个数据流对应 一组网络编码数据包; A coding module, used to independently code the first type of data stream, generate a first type of network coding data packet, jointly code the second type of data stream, and generate a second type of network coding data packet, individually. The second type of network coding data packets corresponds to multiple second type data streams. The independent coding refers to coding a single data stream. Each data stream corresponds to a group of network coding data packets. The joint coding refers to coding of multiple data streams. Each data stream is encoded, and multiple data streams correspond to a set of network coding data packets;
传送模块, 用于将所述第一类网络编码数据包、 第二类网络编码数 据包传送给接收端。 The transmission module is used to transmit the first type of network coding data packet and the second type of network coding data packet to the receiving end.
8、 根据权利要求 7所述的装置, 其特征在于, 所述编码模块, 具体 用于利用联合编码公式对所述第二类数据流进行联合编码, 所述联合编 码公式为 8. The device according to claim 7, characterized in that, the encoding module, specifically Used to jointly encode the second type of data stream using a joint coding formula. The joint coding formula is
Υ = Η · Ξ , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 Υ = Η·Ξ, where Y is the representation matrix of the output network coding data packet, H is the coding coefficient matrix, and S is the representation matrix of the original coding data packet of the data stream.
9、 根据权利要求 7或 8所述的装置, 其特征在于, 所述传送模块, 具体用于将所述第一类网络编码数据包、 第二类网络编码数据包并行传 送给接收端。 9. The device according to claim 7 or 8, characterized in that the transmission module is specifically configured to transmit the first type of network coding data packet and the second type of network coding data packet to the receiving end in parallel.
1 0、 一种数据传输装置, 其特征在于, 包括: 10. A data transmission device, characterized in that it includes:
接收模块, 用于接收第一类网络编码数据包、 第二类网络编码数据 包, 所述第一类网络编码数据包为第一类数据流对应的网络编码数据包, 所述第一类数据流为初传数据流, 所述第二类网络编码数据包为第二类 数据流对应的网络编码数据包, 所述第二类数据流为需要重新传送的数 据流, 所述第一类数据流、 第二类数据流包含任意数量的数据流; The receiving module is used to receive the first type of network coding data packet and the second type of network coding data packet. The first type of network coding data packet is the network coding data packet corresponding to the first type of data stream. The first type of data The stream is an initial transmission data stream, the second type of network coding data packet is a network coding data packet corresponding to the second type of data flow, the second type of data flow is a data stream that needs to be retransmitted, and the first type of data Stream, the second type of data stream contains any number of data streams;
解码模块, 用于对接收的所述第一类网络编码数据包进行独立解码, 以解码译出第一类数据流, 对接收的所述第二类网络编码数据包和第二 类数据流对应的第一类网络编码数据包进行联合解码, 以解码译出第二 类数据流。 A decoding module, configured to independently decode the received first-type network coding data packet to decode the first-type data stream, and correspond to the received second-type network coding data packet and the second-type data stream. The first type of network coding data packets are jointly decoded to decode the second type of data stream.
1 1、 根据权利要求 1 0所述的装置, 其特征在于, 所述解码模块, 具 体用于利用联合编码公式的的逆运算对接收的所述第二类网络编码数据 包和第二类数据流对应的第一类网络编码数据包进行联合解码, 所述联 合编码公式为 Υ = Η · Ξ , 其中, Y为输出的网络编码数据包的表示矩阵, H为编码系数矩阵, S为数据流的原始编码数据包的表示矩阵。 11. The device according to claim 10, characterized in that the decoding module is specifically configured to use the inverse operation of the joint coding formula to compare the received second type of network coding data packet and the second type of data. The first type of network coding data packet corresponding to the stream is jointly decoded. The joint coding formula is Y = H · Ξ, where Y is the representation matrix of the output network coding data packet, H is the coding coefficient matrix, and S is the data stream. Representation matrix of the original encoded packet.
12、 根据权利要求 10或 11所述的装置, 其特征在于, 还包括: 判断模块, 用于判断是否正确解码译出第一类网络编码数据包或第 二类网络编码数据包对应的数据流, 如果为否, 则发送重传所述数据流 的请求。 12. The device according to claim 10 or 11, further comprising: a judgment module, used to judge whether the data stream corresponding to the first type of network coding data packet or the second type of network coding data packet is correctly decoded. , if not, send a request to retransmit the data flow.
PCT/CN2014/071272 2014-01-23 2014-01-23 Data transmission method and apparatus WO2015109500A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480000360.XA CN105103491A (en) 2014-01-23 2014-01-23 Data transmission method and apparatus
PCT/CN2014/071272 WO2015109500A1 (en) 2014-01-23 2014-01-23 Data transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071272 WO2015109500A1 (en) 2014-01-23 2014-01-23 Data transmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2015109500A1 true WO2015109500A1 (en) 2015-07-30

Family

ID=53680611

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071272 WO2015109500A1 (en) 2014-01-23 2014-01-23 Data transmission method and apparatus

Country Status (2)

Country Link
CN (1) CN105103491A (en)
WO (1) WO2015109500A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022213950A1 (en) * 2021-04-06 2022-10-13 华为技术有限公司 Data transmission method, apparatus, and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529105A (en) * 2021-06-25 2022-12-27 华为技术有限公司 A network coding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378296A (en) * 2007-08-27 2009-03-04 中兴通讯股份有限公司 Method for transmitting layered data
CN101567771A (en) * 2008-04-23 2009-10-28 中兴通讯股份有限公司 Data transmission method and terminal
CN102075311A (en) * 2010-12-27 2011-05-25 中国人民解放军理工大学 Network coding-based wireless cooperative broadcasting/multicasting method
CN103067137A (en) * 2013-01-16 2013-04-24 西安电子科技大学 Multicast retransmission method based on network codes

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100557167B1 (en) * 2001-11-02 2006-03-03 삼성전자주식회사 Retransmission device and method in mobile communication system
US6741554B2 (en) * 2002-08-16 2004-05-25 Motorola Inc. Method and apparatus for reliably communicating information packets in a wireless communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378296A (en) * 2007-08-27 2009-03-04 中兴通讯股份有限公司 Method for transmitting layered data
CN101567771A (en) * 2008-04-23 2009-10-28 中兴通讯股份有限公司 Data transmission method and terminal
CN102075311A (en) * 2010-12-27 2011-05-25 中国人民解放军理工大学 Network coding-based wireless cooperative broadcasting/multicasting method
CN103067137A (en) * 2013-01-16 2013-04-24 西安电子科技大学 Multicast retransmission method based on network codes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022213950A1 (en) * 2021-04-06 2022-10-13 华为技术有限公司 Data transmission method, apparatus, and system

Also Published As

Publication number Publication date
CN105103491A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN106254202B (en) A kind of multidiameter delay transmission method and device based on fountain codes
CN108667559B (en) A communication method and device
WO2010000147A1 (en) Method, apparatus and system for the random linear network coding
WO2016070790A1 (en) Harq acknowledgement information feedback method and device
CN102833051B (en) Fountain coding broadcast method based on feedback
CA2858391C (en) Unicast communication method, apparatus, and system
WO2017069845A1 (en) Random linear network encoded data transmission
EP2782281A1 (en) Data transmission using rateless coding
CN103607264A (en) 3G network-based in-band data transmission method
CN106301714B (en) A kind of data transmission method and device
CN105634671A (en) Communication method based on fountain codes and physical layer network coding
EP3241115B1 (en) Method and system for on-demand file repair
WO2017133232A1 (en) Data transmission method, terminal, and data transmission system
CN100505608C (en) An adaptive congestion control method and system suitable for satellite networks
WO2018201984A1 (en) Data transmission method and device
CN109873687B (en) Information processing method and system based on signal-to-noise ratio in Internet of things and storage medium
CN102546096A (en) Real-time multicasting self-adaptation optimization method based on unequal error protection
WO2015109500A1 (en) Data transmission method and apparatus
WO2018103667A1 (en) Method and apparatus for processing information, communication device and storage medium
WO2015077960A1 (en) Transmission method and device for data packet
CN101562498B (en) Coding and decoding transmission method, equipment and system for multi-connection data stream cracking
CN110048810B (en) A kind of information sending method, system and storage medium in Internet of Things
CN106131968B (en) A kind of relay base station multicast scheduling method based on fountain codes
CN109495213A (en) A kind of broadcast repeating method and system based on Hamming weight coding
CN104796735B (en) A kind of method of transmitting video data and device

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480000360.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14879405

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14879405

Country of ref document: EP

Kind code of ref document: A1