CN-121984930-A - Data self-adaptive fragmented transmission method, device, equipment and storage medium
Abstract
The invention belongs to the technical field of data transmission, and discloses a data self-adaptive fragmentation transmission method, a device, equipment and a storage medium. The method comprises the steps of obtaining network link states such as bandwidth, time delay, packet loss rate and self-characteristics of a data packet to be transmitted in real time, dynamically deciding optimal fragmentation control parameters, dividing the data packet into fragmentation sequences with redundancy error correction capability according to the parameters, transmitting the fragmentation sequences, monitoring fragmentation loss events in real time in the transmission process, determining a fragmentation subset to be retransmitted and retransmission parameters according to preset retransmission priority labels, and finally retransmitting the data packet based on the strategy to finish reliable transmission of the whole data packet. The scheme avoids the defects of a fixed slicing strategy due to the adoption of a network state self-adaptive slicing mechanism, and simultaneously combines the retransmission decision of the priority label, so that the quick recovery of key data can be ensured, the robustness of the system under a severe network is enhanced, and the end-to-end time delay is effectively reduced.
Inventors
- FENG WEI
- YUAN FENG
Assignees
- 深圳市丰润达科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260205
Claims (10)
- 1. The data self-adaptive slicing transmission method is characterized by comprising the following steps of: Acquiring network link state characteristics and data packet characteristics to be transmitted; obtaining a fragmentation control parameter according to the network link state characteristics and the data packet characteristics to be transmitted; Dividing a data packet to be transmitted according to the slicing control parameters to obtain a slicing sequence, and transmitting the slicing sequence; Obtaining a subset of fragments to be retransmitted and retransmission parameters corresponding to the fragments to be retransmitted according to the monitored fragment loss event and the retransmission priority label of the fragments in the transmission process; And carrying out packet loss and fragment retransmission according to the fragment subset to be retransmitted and the retransmission parameters so as to complete the transmission task of the data packet to be transmitted.
- 2. The method for adaptive fragmented transmission of data according to claim 1, wherein the obtaining the network link status characteristic and the data packet characteristic to be transmitted comprises: Performing transmission detection on the current transmission network to obtain a network bandwidth fluctuation index, a link transmission delay index and a data packet loss statistical result; obtaining network link state characteristics according to the network bandwidth fluctuation index, the link transmission delay index and the data packet loss statistical result; and carrying out fragmentation requirement analysis according to the byte length detection result of the data packet to be transmitted and the upper limit value of the transmission unit of the current transmission network to obtain the characteristics of the data packet to be transmitted.
- 3. The method for adaptive fragmentation transmission of data according to claim 1, wherein the obtaining the fragmentation control parameter according to the network link status characteristic and the data packet to be transmitted includes: determining an initial fragmentation specification according to the bandwidth index and the delay index in the network link state characteristics; determining a fragment redundant fragment configuration parameter according to the characteristics of the data packet to be transmitted and a redundant data configuration rule; Correcting the configuration parameters of the redundant fragments of the fragments according to the packet loss rate index in the network link state characteristics to obtain fault-tolerant fragment parameters; Correcting the initial fragmentation specification according to the dynamic variation trend of bandwidth and delay in the network link state characteristics to obtain optimized fragmentation parameters; and taking the fault-tolerant slicing parameters and the optimized slicing parameters as the slicing control parameters.
- 4. The method for adaptive fragmentation transmission of data according to claim 1, wherein the dividing the data packet to be transmitted according to the fragmentation control parameter to obtain a fragmentation sequence, and transmitting the fragmentation sequence, comprises: According to the optimized slicing parameters in the slicing control parameters, carrying out logic boundary division on the data packet to be transmitted to obtain an initial data slice set; Adding a redundant forward error correction code to the initial data fragment set according to the fault-tolerant fragmentation parameter in the fragmentation control parameter to obtain an enhanced data fragment set; according to a preset fragment sequence number generation rule, assigning a unique sequence identifier to each data fragment in the enhanced data fragment set; and according to the allocated sequence identification, the enhanced data fragment set is organized in sequence to obtain the fragment sequence, and the fragment sequence is transmitted through a network link.
- 5. The method for adaptive fragmentation transmission of data according to claim 1, wherein the obtaining the subset of fragments to be retransmitted and retransmission parameters corresponding to each fragment to be retransmitted according to the monitored fragment loss event and the retransmission priority label of the fragment in the transmission process includes: identifying a defect fragment list of transmission failure according to a data packet loss event monitored in the transmission process; Sequencing retransmission emergency degrees of all fragments according to retransmission priority labels of all fragments in the defect fragment list; based on the transmission delay index and the packet loss rate of the current network, respectively setting retransmission scheduling parameters for each defect fragment after sequencing; and integrating the defect fragment list, the retransmission priority sequence and the retransmission scheduling parameters of each fragment to obtain the fragment subset to be retransmitted and retransmission parameters corresponding to each fragment to be retransmitted.
- 6. The method according to claim 5, wherein the setting retransmission scheduling parameters for each ordered defective slice based on the transmission delay index and the packet loss rate of the current network includes: determining retransmission delay threshold values corresponding to each defect fragment according to the real-time monitoring values of the transmission delay indexes; Calculating the retransmission bandwidth reservation ratio of each defective fragment according to the dynamic variable quantity of the packet loss rate; Correcting the retransmission delay threshold and the bandwidth reservation proportion based on the association relation between the bandwidth resource occupation coefficient and the packet loss rate of the transmission channel; And integrating the corrected retransmission delay threshold value and the bandwidth reservation proportion to obtain the retransmission scheduling parameter of the defect fragment.
- 7. The method for adaptive fragmentation transmission of data according to claim 1, wherein said performing packet loss fragmentation retransmission according to the to-be-retransmitted fragmentation subset and the retransmission parameter to complete the transmission task of the to-be-transmitted data packet comprises: determining the scheduling sequence and the transmission channel of each fragment to be retransmitted according to the fragment subsets to be retransmitted and the retransmission parameters corresponding to the fragment subsets to be retransmitted; according to the scheduling sequence, corresponding retransmission control information is packaged for each to-be-retransmitted fragment, and a retransmission data unit is generated; And sequentially sending the retransmission data units to a receiving end based on the allocated transmission channels so as to complete the transmission task of the data packet to be transmitted.
- 8. A data adaptive sliced transmission device, characterized in that it comprises: the state monitoring module is used for acquiring the state characteristics of the network link and the characteristics of the data packet to be transmitted; The data processing module is used for obtaining the fragmentation control parameters according to the network link state characteristics and the data packet characteristics to be transmitted; The slicing transmission module is used for dividing the data packet to be transmitted according to the slicing control parameters to obtain a slicing sequence and transmitting the slicing sequence; the slice transmission module is further configured to obtain a subset of slices to be retransmitted and retransmission parameters corresponding to the slices to be retransmitted according to a slice loss event monitored in a transmission process and a retransmission priority label of the slices; and the fragment transmission module is further used for carrying out packet loss fragment retransmission according to the fragment subset to be retransmitted and the retransmission parameters so as to complete the transmission task of the data packet to be transmitted.
- 9. A data adaptive sliced transmission device characterized in that it comprises a memory, a processor and a data adaptive sliced transmission program stored on said memory and executable on said processor, said data adaptive sliced transmission program being configured to implement the steps of the data adaptive sliced transmission method according to any one of claims 1 to 7.
- 10. A storage medium having stored thereon a data adaptive sliced transmission program which when executed by a processor implements the steps of the data adaptive sliced transmission method according to any one of claims 1 to 7.
Description
Data self-adaptive fragmented transmission method, device, equipment and storage medium Technical Field The present application relates to the field of data transmission technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adaptive data slicing transmission. Background With the rapid development of internet, cloud computing and internet of things, global data traffic has been explosively increased, and unprecedented requirements on transmission efficiency and bearing capacity of the underlying data communication network are put forward. The data processing performance of the network switch, which is a core device for constructing a network infrastructure, directly determines the throughput and the service quality of the whole network. In the current network switching technology, in order to adapt to MTUs (maximum transmission units) of different physical links and avoid a single large data stream occupying a link for a long time, a fragmentation transmission technology is generally adopted when processing a large-size message. However, the conventional slicing and reassembling mechanism widely adopted in the industry has low efficiency in the slicing and reassembling process, introduces excessive processing overhead, and the loss of any one slice can cause the failure of the transmission of the whole message, seriously affects the transmission efficiency and reliability of data and consumes a large amount of additional resources. Therefore, how to design a new mechanism with high performance, high reliability and low cost to replace or optimize the existing conventional slicing and reassembly process is a technical problem to be solved in the art. Disclosure of Invention The application mainly aims to provide a data self-adaptive slicing transmission method, a device, equipment and a storage medium, which aim to solve the technical problem of how to design a new mechanism with high efficiency, high reliability and low cost in the prior art so as to replace or optimize the traditional slicing and recombination process. In order to achieve the above object, the present application provides a data adaptive fragmentation transmission method, which includes: Acquiring network link state characteristics and data packet characteristics to be transmitted; obtaining a fragmentation control parameter according to the network link state characteristics and the data packet characteristics to be transmitted; Dividing a data packet to be transmitted according to the slicing control parameters to obtain a slicing sequence, and transmitting the slicing sequence; Obtaining a subset of fragments to be retransmitted and retransmission parameters corresponding to the fragments to be retransmitted according to the monitored fragment loss event and the retransmission priority label of the fragments in the transmission process; And carrying out packet loss and fragment retransmission according to the fragment subset to be retransmitted and the retransmission parameters so as to complete the transmission task of the data packet to be transmitted. Optionally, the acquiring the network link status characteristic and the data packet characteristic to be transmitted includes: Performing transmission detection on the current transmission network to obtain a network bandwidth fluctuation index, a link transmission delay index and a data packet loss statistical result; obtaining network link state characteristics according to the network bandwidth fluctuation index, the link transmission delay index and the data packet loss statistical result; and carrying out fragmentation requirement analysis according to the byte length detection result of the data packet to be transmitted and the upper limit value of the transmission unit of the current transmission network to obtain the characteristics of the data packet to be transmitted. Optionally, the obtaining the fragmentation control parameter according to the network link status feature and the feature of the data packet to be transmitted includes: determining an initial fragmentation specification according to the bandwidth index and the delay index in the network link state characteristics; determining a fragment redundant fragment configuration parameter according to the characteristics of the data packet to be transmitted and a redundant data configuration rule; Correcting the configuration parameters of the redundant fragments of the fragments according to the packet loss rate index in the network link state characteristics to obtain fault-tolerant fragment parameters; Correcting the initial fragmentation specification according to the dynamic variation trend of bandwidth and delay in the network link state characteristics to obtain optimized fragmentation parameters; and taking the fault-tolerant slicing parameters and the optimized slicing parameters as the slicing control parameters. Optionally, the dividing the data packet to be transmitted