CN-122001815-A - Transmission method and system for parallel blocks with different lengths
Abstract
The application discloses a transmission method and a transmission system of parallel blocks with different lengths, which relate to the communication and data transmission technology and comprise the steps of sending a packet from a data source to a transmission sub-buffer of a pairing channel in a matched mode according to packet length through a transmission selection router on a sender, disassembling an overrun packet into a data packet which can be borne by the block transmission channel by using a unpacker, sending the disassembled data packet to the selection router, buffering outgoing data packets of all channels by using the transmission buffer, extracting the packet from the dynamic transmission buffer and sending the outgoing data in parallel through the parallel setting of the block transmission channel, receiving and buffering the data packets of all the block transmission channels by a receiving buffer on a receiver, and sending the data packets in the receiving buffer to a data destination by the receiving router according to a specified packet fetching strategy. The application can exert the strong bearing capacity of multiple channels, relieve the situation that equal-scale packets are jammed in a single best matching channel, and improve the throughput rate.
Inventors
- DENG CHENG
- PAN LE
- WANG HANJUN
- WANG YUHONG
- DING HUI
- HE GUOFENG
- PENG QIMING
- HU XIN
- CHEN SHIKANG
- MAO XINNONG
- SHI JIAN
- YU WEI
- HU QIANG
- WU FEI
- Kang Lingzhou
Assignees
- 中国电子科技集团公司第三十研究所
Dates
- Publication Date
- 20260508
- Application Date
- 20260127
Claims (10)
- 1. The transmission method of parallel blocks with different lengths is characterized by being applied to a receiving and transmitting system formed by a sender and a receiver, wherein the sender comprises a sending selection router, a unpacker, a sending buffer and a block transmission channel, the receiver comprises a receiving router, an aggregator, a receiving buffer and a block receiving channel, and the transmission method comprises the following steps: At a sender, a sending router sends incoming packets of a data source to a sending sub-buffer of a pairing channel in a matching way according to packet length; utilizing a unpacking device to unpack the overrun packet into a data packet which can be borne by a block transmission channel, and sending the unpacked data packet to a selection router; Caching outgoing data packets of all channels by using the sending cache; The block transmission channels are arranged in parallel, and are used for extracting packets from dynamic sending caches and sending out in parallel; At the receiving side, receiving and caching the data packets of each block transmission channel; and the receiving router sends the data packet in the receiving buffer memory to the data destination according to the designated packet fetching strategy.
- 2. The transmission method of parallel blocks of different lengths according to claim 1, further comprising, at a transmitting side, performing the following processing by a transmission selection router: Receiving a packet of a data source; classifying the received data packets according to the sizes of the received data packets, and sending the data packets to a sending buffer; In case the data packet to be transmitted comprises an overrun packet, receiving the unpacking packet of the unpacking device, forwarding the unpacking packet to an oversized packet buffer, the oversized packet buffer belonging to the sending buffer, and And judging whether to unpack/group the packets according to the feedback situation information of the sending buffer memory and the situation information of the receiving channel, and sending by using the idle channel.
- 3. The transmission method of parallel blocks of different lengths according to claim 2, further comprising: Identifying the type of incoming packets of a data source, and determining corresponding weights according to pre-configured type weights, wherein the type weights are divided into three dimensions, namely, according to the size/length of a load packet, according to the quality of service (QoS), according to the importance of service/content, and the determined weights are stepwise weights of each dimension; According to the recorded type result and weight of the appointed duration, a prediction algorithm is matched according to the current moment, wherein the prediction algorithm comprises an independent short-term prediction algorithm, an independent medium-term prediction algorithm and an independent long-term prediction algorithm; The prediction result of the packet is determined by using a matched prediction algorithm.
- 4. A method of transmitting parallel blocks of different lengths according to claim 3, further comprising: determining importance ranking of incoming packets according to the prediction result of the incoming packets and the corresponding objective function; Sorting reserved priority gaps according to importance of incoming packets; and placing the packet in the optimal empty space according to the strategy in the matched method library according to the reserved priority empty space, wherein a special thread, a spin polling block transmission controller or a DMA completion status register is additionally added to the time-sensitive packet so as to reduce the time-sensitive packet delay.
- 5. The transmission method of parallel blocks of different lengths according to claim 2, wherein said depacketizer performs the following processing: checking whether the overrun packet buffer is empty or not, if not, taking the overrun packet, and finishing disassembly; The disassembled packets after disassembly are sent to a sending selection router; The sending buffer is a dynamic buffer, and the sending buffer is specifically configured to: Buffering outgoing data packets for extraction by a block transmission channel; Reporting the cache situation information, and applying for dynamically adjusting the sending cache to the system.
- 6. The method for transmitting parallel blocks of different lengths according to claim 2, wherein the block transmission channel is specifically configured to: Selecting and presetting the number of parallel channels according to an application scene, wherein: presetting a first number of parallel block transmission channels for fine granularity scenes with even packet size distribution or scenes with strict transmission performance requirements for blocks of different sizes; Presetting a second number of parallel block transmission channels for a less demanding scene, and dynamically configuring the idle channel block size to adapt to real-time changes of packet reception conditions, wherein the first number is larger than the second number; And reporting channel situation information of the block transmission channel.
- 7. The method for transmitting parallel blocks of different lengths according to claim 4, wherein the method further comprises, at the receiving side: Caching the received data packet into a receiving cache by utilizing a receiving side parallel block receiving channel, wherein the receiving cache is a dynamic cache; and utilizing the receiving buffer to buffer incoming packets of each block of receiving channel for a receiving router to fetch the packets at any time, reporting the buffer situation information of the receiving buffer, and applying for dynamically adjusting the receiving buffer to the system.
- 8. The method for transmitting parallel blocks of different lengths according to claim 7, wherein said aggregator specifically performs: whether the oversized packet cache has a disassembled packet or not is checked, if so, the disassembled packet is taken out, and packet aggregation is carried out; and sending the aggregated data packet to a receiving router.
- 9. The transmission method of parallel blocks of different lengths according to claim 8, wherein said receiving router performs in particular: Acquiring a received data packet from a receiving buffer and transmitting the received data packet to a data destination; and judging and adjusting a packet taking strategy according to the fed back cache situation information.
- 10. A transmission system for parallel blocks of different lengths, comprising a transceiver system comprising a sender and a receiver, the sender comprising a sending selection router, a depacketizer, a sending buffer, a block transmission channel, the receiver comprising a receiving router, an aggregator, a receiving buffer and a block receiving channel, the sender and the receiver cooperatively performing the steps of the transmission method for parallel blocks of different lengths according to any one of claims 1-9.
Description
Transmission method and system for parallel blocks with different lengths Technical Field The present application relates to the field of communications and data transmission technologies, and in particular, to a method and a system for transmitting parallel blocks with different lengths. Background At present, the common block transmission in the communication field, such as USB, GPRS, PCIe, 5G and other channel block transmission, has the consumption problem caused by the mismatch between the packet length and the transmission block size (such as the block transmission size is matched by unpacking and grouping, and the transmission efficiency is reduced by reconfiguration and frequent cutting of the transmission length). Block transmission is advantageous. Compared with the 'random transmission' of single bytes, the transmission efficiency of the Block transmission of the fixed length and the retransmission after the Block (Block) is packed is higher, because the channel protocol is distributed on each byte to consume less. But this efficiency advantage only occurs when the packet length matches the transport block size. If the packet length differs from the block size far, either the unpacking and packing operations (to match the block transmission size) are additionally added, or the block transmission controller is reconfigured (to match the block size to the packet length) and then the packet is retransmitted, the transmission efficiency does not rise and fall, and the additional operations are time-consuming and laborious. For this reason, block transmission is designed for efficient transmission of large amounts of, equi-scale data. For those data collection and distribution points (such as backbone nodes) with wide and uniform packet length distribution, the packet length is not matched with the block size, so that extra consumption is caused, and the block transmission efficiency is not high. This limits the application of block transfer in these scenarios. But a few devices supporting block transfer have been deployed to these sites, disabling the block transfer channels will result in a significant reduction in the expansion capabilities of these devices. For example, in order to optimize communication, before the backbone node transmits data, encoding and decoding are needed to be performed on the data, and the node device only leaves the block transmission channel idle, and whether the encoding and decoding device can be hung on the node device through the block transmission channel or not so as to realize function expansion becomes a problem. Because packet length and block size mismatch is likely to occur frequently. Disclosure of Invention The embodiment of the application provides a transmission method and a transmission system for parallel blocks with different lengths, which aim at a mixed block transmission scene of uniformly distributed packets with different sizes, solve the problem of efficiency reduction caused by frequent switching of the lengths of disassembled packets and assembled packets or blocks, exert strong bearing capacity of multiple channels, relieve the situation that packets with equal scales are jammed in a single optimal matching channel, and improve throughput rate. The embodiment of the application provides a transmission method of parallel blocks with different lengths, which is applied to a receiving and transmitting system formed by a sender and a receiver, wherein the sender comprises a sending selection router, a unpacking device, a sending buffer and a block transmission channel, the receiver comprises a receiving router, an aggregation device, a receiving buffer and a block receiving channel, and the transmission method comprises the following steps: At a sender, a sending router sends incoming packets of a data source to a sending sub-buffer of a pairing channel in a matching way according to packet length; utilizing a unpacking device to unpack the overrun packet into a data packet which can be borne by a block transmission channel, and sending the unpacked data packet to a selection router; Caching outgoing data packets of all channels by using the sending cache; The block transmission channels are arranged in parallel, and are used for extracting packets from dynamic sending caches and sending out in parallel; At the receiving side, receiving and caching the data packets of each block transmission channel; and the receiving router sends the data packet in the receiving buffer memory to the data destination according to the designated packet fetching strategy. The embodiment of the application also provides a transmission system of the parallel blocks with different lengths, which comprises a receiving and transmitting system consisting of a sender and a receiver, wherein the sender comprises a sending selection router, a unpacker, a sending buffer and a block transmission channel, the receiver comprises a receiving router, an aggregator, a receiving buff