Dynamic path optimization method and system for cross-device file transmission
By dynamically adjusting the file chunking strategy, optimizing cross-device file transfer based on effective bandwidth and delay fine-tuning factors, the problems of low transmission efficiency and resource imbalance caused by fixed chunking strategy are solved, and efficient and stable file transfer is achieved.
Patent Information
- Application Number
- CN202510930857.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2045-07-07
AI Technical Summary
In the existing cross-device file transfer, fixed-size file chunking strategies cannot adapt to heterogeneous network bandwidth differences, resulting in low-bandwidth link blocking, high-latency link transmission time and unbalanced resource allocation, affecting transmission efficiency.
By obtaining the effective bandwidth of the transmission node, dividing file blocks, determining bandwidth requirements, optimizing file transfer paths using delay fine-tuning factors and load balancing characteristics, dynamically adjusting chunking strategies to adapt to network changes, and ensuring efficient and stable file transfer.
Dynamic bandwidth-aware file chunking transmission is realized, improving the efficiency and stability of cross-device file transfer, and reducing transmission delay and resource waste.
Smart Images

Figure CN120434239A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of file transfer technology, and more specifically, to a dynamic path optimization method and system for cross-device file transfer. Background Art
[0002] With the maturity of 5G, edge computing and distributed network technologies, cross-device file transfer technology has developed rapidly in recent years. The continuous emergence of emerging technologies has greatly improved the security and stability of transmission. At the same time, cross-device file transfer has also been widely used in scenarios such as multi-screen collaboration and mobile office, realizing seamless connection and fast transmission between different devices. In addition, cloud storage services have also become an important way to transfer files across devices, supporting multi-device synchronization and multi-person collaboration.
[0003] Existing block transfer protocols typically use a fixed-size file block strategy. This coarse-grained file block strategy has significant technical limitations. Fixed blocks cannot adapt to the bandwidth differences of heterogeneous networks. In mixed 5G and narrowband IoT scenarios, identical blocks can cause severe congestion on low-bandwidth links. This strategy ignores path latency fluctuations, and transmitting large blocks on high-latency links significantly increases overall completion time. Fixed blocks can also lead to imbalanced resource allocation. High-bandwidth links cannot fully utilize bandwidth due to small blocks, while low-bandwidth links experience timeouts and retransmissions due to overly large blocks. Therefore, how to implement dynamic, bandwidth-aware file block transfer to improve cross-device file transfer efficiency has become a challenge facing the industry. Summary of the Invention
[0004] The present application provides a dynamic path optimization method and system for cross-device file transfer, which can realize dynamic bandwidth-aware file block transfer, thereby improving the efficiency of cross-device file transfer.
[0005] In a first aspect, the present application provides a method for dynamic path optimization of cross-device file transfer, the path optimization method comprising the following steps: Obtain the files to be transferred across devices and multiple transfer nodes, and then determine the effective bandwidth of the file transfer path between each transfer node; Dividing the file to be transmitted into a plurality of transmission file blocks based on each effective bandwidth, and then determining the bandwidth requirement of each transmission file block; Determining a delay fine-tuning factor in cross-device file transfer based on the transmission delay of each file transfer path, and determining a load balancing feature in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth; The data transmission size of each file transmission path when the file to be transmitted is transmitted across devices is determined by the load balancing characteristics and each bandwidth requirement, and the file to be transmitted is transmitted in blocks based on each data transmission size.
[0006] In this embodiment, determining the effective bandwidth of the file transmission path between each transmission node specifically includes: Get the file transfer path between each transfer node; For each file transmission path, obtain the link packet loss rate and available bandwidth between the sending node and the receiving node in the file transmission path; The effective bandwidth of the file transfer path is determined by the link packet loss rate and the available bandwidth, and then the effective bandwidth of each file transfer path is obtained.
[0007] In this embodiment, dividing the to-be-transmitted file into a plurality of transmission file blocks based on respective effective bandwidths specifically includes: Obtaining the data volume of each file unit block in the file to be transmitted; All data volumes are clustered based on the effective bandwidth, thereby obtaining multiple transmission file blocks.
[0008] In this embodiment, determining the bandwidth requirement for each transmission file block specifically includes: For each transmission file block, obtain the block size and expected transmission time limit in the transmission file block; The bandwidth requirement for transmitting the file block is determined by the block size and the expected transmission time limit, and then the bandwidth requirement of each transmission file block is obtained.
[0009] In this embodiment, determining the delay fine-tuning factor in cross-device file transfer based on the transmission delay of each file transmission path specifically includes: Get the transmission delay of each file transmission path; Determine the latency fine-tuning factor for cross-device file transfers based on all transfer delays.
[0010] In this embodiment, determining the load balancing characteristics in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth specifically includes: For each file transmission path, obtain the effective bandwidth in the file transmission path; Determining the load balancing ratio of the file transfer path in the cross-device file transfer by using the effective bandwidth and the delay fine-tuning factor, and then obtaining the load balancing ratio of each file transfer path in the cross-device file transfer; Determine the load balancing characteristics in cross-device file transfer based on all load balancing ratios.
[0011] In this embodiment, determining the data transmission size of each file transmission path when the file to be transmitted is transmitted across devices based on the load balancing characteristics and each bandwidth requirement specifically includes: For each file transfer path, obtaining a load balancing ratio of the file transfer path in cross-device file transfer from the load balancing feature; The data transmission size of the file transfer path when the file to be transferred is transferred across devices is determined by the load balancing ratio and the bandwidth requirement of the file transfer path, and then the data transmission size of each file transfer path when the file to be transferred is transferred across devices is obtained.
[0012] In this embodiment, the block-wise transmission of the files to be transmitted based on the data transmission sizes specifically includes: Each data transmission size is used as the transmission bandwidth of each transmission file block in the file to be transmitted, thereby completing the block transmission of the file to be transmitted.
[0013] In this embodiment, the transmission node is a heterogeneous device cluster based on an edge computing framework.
[0014] In a second aspect, the present application provides a dynamic path optimization system for cross-device file transfer, which is used to perform a dynamic path optimization method for cross-device file transfer. The dynamic path optimization system for cross-device file transfer includes: An acquisition module is used to obtain files to be transferred across devices and multiple transfer nodes, and then determine the effective bandwidth of the file transfer path between each transfer node; A file division module, configured to divide the file to be transmitted into a plurality of transmission file blocks based on respective effective bandwidths, and then determine the bandwidth requirement of each transmission file block; A load balancing module is used to determine a delay fine-tuning factor in cross-device file transfer based on the transmission delay of each file transfer path, and determine a load balancing feature in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth; The block transmission module is used to determine the data transmission size of each file transmission path when the file to be transmitted is transmitted across devices based on the load balancing characteristics and each bandwidth requirement, and to perform block transmission of the file to be transmitted based on each data transmission size.
[0015] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects: First, the file to be transferred across devices and multiple transfer nodes are obtained, and then the effective bandwidth of the file transfer path between each transfer node is determined; secondly, the file to be transferred is divided into multiple transfer file blocks based on each effective bandwidth, and then the bandwidth requirement of each transfer file block is determined; then, the delay fine-tuning factor in the cross-device file transfer is determined through the transmission delay of each file transfer path, and the load balancing characteristics in the cross-device file transfer are determined based on the delay fine-tuning factor and each effective bandwidth; finally, the data transmission size of each file transfer path when the file to be transferred is transferred across devices is determined through the load balancing characteristics and each bandwidth requirement, and the file to be transferred is transmitted in blocks based on each data transmission size.
[0016] It can be seen that the present application solution determines the data transmission size of each file transfer path when the file to be transferred is transferred across devices through the load balancing characteristics and each bandwidth requirement, and transmits the file to be transferred in blocks based on each data transmission size; first, the priority of the file transfer path is dynamically adjusted using the delay fine-tuning factor, thereby optimizing the overall transmission efficiency. The delay fine-tuning factor monitors the transmission delay of each path in real time and predicts the future network status in combination with historical data to ensure that a low-latency path is selected for the transmission of key data blocks. In a congested network, the system can automatically reduce the weight of the high-latency path to avoid the efficiency loss caused by data packet retransmission. At the same time, the delay fine-tuning factor can also adapt to changes in different network environments, dynamically adjust the block allocation strategy, and reduce transmission caused by network jitter. Interruption, thereby significantly reducing end-to-end transmission time and improving the overall efficiency of cross-device file transfer; then, determining the load balancing feature can ensure that the resource utilization of each transmission node is maximized, avoiding overload of a single node and becoming a bottleneck. The load balancing feature first evaluates the current load rate of each path, and combines real-time bandwidth and latency data to dynamically allocate file blocks to the most suitable path. When a path is highly loaded, the system will automatically migrate some blocks to a low-load path to maintain the stability of the overall transmission. At the same time, the load balancing feature can also adjust the block distribution in real time according to changes in the network topology to ensure that transmission tasks are always evenly distributed. This not only improves bandwidth utilization, but also reduces transmission delays caused by local congestion, so that cross-device file transfer can still remain efficient and stable in complex network environments.
[0017] In summary, the technical solution of the present application can realize dynamic bandwidth-aware file block transmission, thereby improving the efficiency of file transmission across devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 is a flow chart of a dynamic path optimization method for cross-device file transfer provided by this application; Figure 2 is an exemplary flow chart for determining a transmission file block provided by the present application; Figure 3 is an exemplary flow chart for determining a delay fine-tuning factor according to the present application; Figure 4 This is a module structure diagram of the dynamic path optimization system for cross-device file transfer provided by this application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0021] An embodiment of the present application provides a dynamic path optimization method and system for cross-device file transfer, the core of which is to obtain a file to be transferred across devices and multiple transfer nodes, and then determine the effective bandwidth of the file transfer path between each transfer node; divide the file to be transferred into multiple transfer file blocks based on each effective bandwidth, and then determine the bandwidth requirement of each transfer file block; determine the delay fine-tuning factor in cross-device file transfer through the transmission delay of each file transfer path, and determine the load balancing characteristics in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth; determine the data transmission size of each file transfer path when the file to be transferred is transferred across devices through the load balancing feature and each bandwidth requirement, and transmit the file to be transferred in blocks based on each data transmission size. In summary, the present application can realize dynamic bandwidth-aware file block transmission, thereby improving the efficiency of cross-device file transfer.
[0022] Example 1: In order to better understand the above technical solution, the above technical solution will be described in detail below with reference to the accompanying drawings and specific implementation methods. Figure 1As shown in FIG, this figure is an exemplary flow chart of a dynamic path optimization method for cross-device file transfer according to this embodiment of the present application. The waveguide detection method includes the following steps: In step S1, a file to be transmitted across devices and a plurality of transmission nodes are obtained, and then an effective bandwidth of a file transmission path between each transmission node is determined.
[0023] It should be noted that, in this application, the file to be transferred represents the data entity that needs to be transferred across devices; the transmission node represents the network device involved in file routing and forwarding, and the transmission node is a heterogeneous device cluster based on the edge computing framework; in specific implementation, the file to be transferred is obtained from the cross-device database, and the heterogeneous device is obtained from the cross-device console as the transmission node, and multiple transmission nodes across devices can be obtained.
[0024] In this embodiment, determining the effective bandwidth of the file transmission path between each transmission node can be achieved by using the following steps: Get the file transfer path between each transfer node; For each file transmission path, obtain the link packet loss rate and available bandwidth between the sending node and the receiving node in the file transmission path; The effective bandwidth of the file transfer path is determined by the link packet loss rate and the available bandwidth, and then the effective bandwidth of each file transfer path is obtained.
[0025] It should be noted that, in the present application, the effective bandwidth represents the maximum stable throughput actually available in the transmission path; in specific implementation, first, the file transfer path between each transmission node can be obtained from the cross-device console, where the file transfer path represents the end-to-end communication link for transmitting file blocks between nodes, the link packet loss rate represents the proportion of data packets lost during data transmission, and the available bandwidth represents the dynamically allocable bandwidth resources that are not currently occupied; then, for each file transfer path, the link packet loss rate and available bandwidth between the sending node and the receiving node in the file transfer path can be obtained from the cross-device monitoring module; finally, the product of the link packet loss rate and the available bandwidth can be used as the packet loss bandwidth of the file transfer path, and the difference between the available bandwidth and the packet loss bandwidth can be used as the effective bandwidth of the file transfer path. The effective bandwidth of each file transfer path can be obtained in the above manner.
[0026] In step S2, the file to be transmitted is divided into a plurality of transmission file blocks based on each effective bandwidth, and then the bandwidth requirement of each transmission file block is determined.
[0027] In this embodiment, reference Figure 2As shown in FIG. 1 , this figure is an exemplary flow chart of determining a transmission file block in an embodiment of the present application. In this embodiment, dividing the file to be transmitted into multiple transmission file blocks based on each effective bandwidth can be implemented by the following steps: In step S21, the data volume of each file unit block in the file to be transmitted is obtained; In step S22, all data volumes are clustered based on respective effective bandwidths, thereby obtaining a plurality of transmission file blocks.
[0028] It should be noted that, in the present application, the transmission file block represents the sub-unit of the file to be transmitted divided according to the bandwidth requirement; in the specific implementation, first, the data amount of each file unit block in the file to be transmitted is obtained, the file unit block represents the minimum data fragment with independent transmission logic, and the data amount represents the number of transmission bytes occupied by a single block of file; then, the K-means clustering algorithm can be used to cluster all the data amounts to obtain multiple cluster clusters. During the clustering process, it is ensured that the sum of the bandwidth required for the data amount in each cluster cluster is less than the corresponding effective bandwidth, and the number of cluster clusters is reduced, so that the set of file unit blocks corresponding to the data amount in each cluster cluster is taken as a transmission file block, and multiple transmission file blocks can be obtained.
[0029] In this embodiment, the bandwidth requirement for each transmission file block can be determined by the following steps: For each transmission file block, obtain the block size and expected transmission time limit in the transmission file block; The bandwidth requirement for transmitting the file block is determined by the block size and the expected transmission time limit, and then the bandwidth requirement of each transmission file block is obtained.
[0030] It should be noted that, in this application, the bandwidth requirement represents the minimum bandwidth threshold required for transmitting file blocks; in specific implementation, first, for each transmitted file block, the block size and expected transmission time limit in the transmitted file block are obtained, the block size represents the number of bytes of data in a single file block, and the expected transmission time limit represents the target time limit for completing the block transmission; then, the ratio of the block size to the expected transmission time limit can be used as the bandwidth requirement for the transmitted file block, and the bandwidth requirement of each transmitted file block can be obtained in the above manner.
[0031] In step S3, a delay fine-tuning factor in cross-device file transmission is determined by the transmission delay of each file transmission path, and a load balancing feature in cross-device file transmission is determined based on the delay fine-tuning factor and each effective bandwidth.
[0032] In this embodiment, reference Figure 3As shown in FIG, this figure is an exemplary flow chart of determining the delay fine-tuning factor in an embodiment of the present application. In this embodiment, the delay fine-tuning factor in cross-device file transfer is determined by the transmission delay of each file transfer path, which can be implemented by the following steps: In step S31, the transmission delay of each file transmission path is obtained; In step S32, a delay fine-tuning factor for cross-device file transfer is determined based on all transmission delays.
[0033] It should be noted that, in this application, the delay fine-tuning factor represents the weight coefficient for dynamically adjusting the path delay; in specific implementation, first, for each file transfer path, the historical transmission records of the file transfer path within a specified time period (the default is one week) are obtained, and the average of all delay values in the historical transmission records is used as the transmission delay of the file transfer path. The transmission delay of each file transfer path can be obtained in the above manner, and the transmission delay represents the total time delay from sending to receiving data; then, the standard deviation of all transmission delays can be used as the delay fine-tuning factor in cross-device file transfer.
[0034] In this embodiment, the load balancing feature in cross-device file transfer is determined based on the delay fine-tuning factor and each effective bandwidth, which can be achieved by using the following steps: For each file transmission path, obtain the effective bandwidth in the file transmission path; Determining the load balancing ratio of the file transfer path in the cross-device file transfer by using the effective bandwidth and the delay fine-tuning factor, and then obtaining the load balancing ratio of each file transfer path in the cross-device file transfer; Determine the load balancing characteristics in cross-device file transfer based on all load balancing ratios.
[0035] It should be noted that, in the present application, the load balancing feature represents an optimization indicator that takes into account both bandwidth and delay in path selection; in specific implementation, first, for each file transfer path, the effective bandwidth in the file transfer path is obtained; then, the product of the effective bandwidth and the delay fine-tuning factor can be used as the load balancing ratio of the file transfer path in cross-device file transfer. The load balancing ratio of each file transfer path in cross-device file transfer can be obtained in the above manner, and the load balancing ratio represents the task allocation weight ratio of each transmission node; finally, the set of all load balancing ratios can be used as the load balancing feature in cross-device file transfer.
[0036] In step S4, the data transmission size of each file transmission path when the file to be transmitted is transmitted across devices is determined based on the load balancing characteristics and each bandwidth requirement, and the file to be transmitted is transmitted in blocks based on each data transmission size.
[0037] In this embodiment, the following steps can be used to determine the data transmission size of each file transmission path when the file to be transmitted is transmitted across devices based on the load balancing characteristics and the bandwidth requirements of each file transmission path: For each file transfer path, obtaining a load balancing ratio of the file transfer path in cross-device file transfer from the load balancing feature; The data transmission size of the file transfer path when the file to be transferred is transferred across devices is determined by the load balancing ratio and the bandwidth requirement of the file transfer path, and then the data transmission size of each file transfer path when the file to be transferred is transferred across devices is obtained.
[0038] It should be noted that, in the present application, the data transmission size refers to the size of the data block in a single transmission; in specific implementation, first, for each file transfer path, the load balancing ratio of the file transfer path in cross-device file transfer is obtained from the load balancing characteristics; then, the product of the load balancing ratio and the bandwidth requirement of the file transfer path can be used as the data transmission size of the file transfer path when the file to be transferred is transferred across devices. The data transmission size of each file transfer path when the file to be transferred is transferred across devices can be obtained in the above manner.
[0039] In this embodiment, the following steps can be used to implement block transmission of the files to be transmitted based on the data transmission size: Each data transmission size is used as the transmission bandwidth of each transmission file block in the file to be transmitted, thereby completing the block transmission of the file to be transmitted.
[0040] It can be seen that the present application solution determines the data transmission size of each file transfer path when the file to be transferred is transferred across devices through the load balancing characteristics and each bandwidth requirement, and transmits the file to be transferred in blocks based on each data transmission size; first, the priority of the file transfer path is dynamically adjusted using the delay fine-tuning factor, thereby optimizing the overall transmission efficiency. The delay fine-tuning factor monitors the transmission delay of each path in real time and predicts the future network status in combination with historical data to ensure that a low-latency path is selected for the transmission of key data blocks. In a congested network, the system can automatically reduce the weight of the high-latency path to avoid the efficiency loss caused by data packet retransmission. At the same time, the delay fine-tuning factor can also adapt to changes in different network environments, dynamically adjust the block allocation strategy, and reduce transmission caused by network jitter. Interruption, thereby significantly reducing end-to-end transmission time and improving the overall efficiency of cross-device file transfer; then, determining the load balancing feature can ensure that the resource utilization of each transmission node is maximized, avoiding overload of a single node and becoming a bottleneck. The load balancing feature first evaluates the current load rate of each path, and combines real-time bandwidth and latency data to dynamically allocate file blocks to the most suitable path. When a path is highly loaded, the system will automatically migrate some blocks to a low-load path to maintain the stability of the overall transmission. At the same time, the load balancing feature can also adjust the block distribution in real time according to changes in the network topology to ensure that transmission tasks are always evenly distributed. This not only improves bandwidth utilization, but also reduces transmission delays caused by local congestion, so that cross-device file transfer can still remain efficient and stable in complex network environments.
[0041] In summary, the technical solution of the present application can realize dynamic bandwidth-aware file block transmission, thereby improving the efficiency of file transmission across devices.
[0042] In the second embodiment, the present application provides a dynamic path optimization system for cross-device file transfer, referring to Figure 4 As shown, this figure is a schematic diagram of a dynamic path optimization system for cross-device file transfer according to this embodiment of the present application. The dynamic path optimization system for cross-device file transfer includes: An acquisition module 100 is used to acquire a file to be transmitted across devices and multiple transmission nodes, and then determine the effective bandwidth of the file transmission path between each transmission node; A file division module 200 is configured to divide the file to be transmitted into a plurality of transmission file blocks based on respective effective bandwidths, and thereby determine the bandwidth requirement of each transmission file block; A load balancing module 300 is configured to determine a delay fine-tuning factor in cross-device file transfer based on the transmission delay of each file transfer path, and determine a load balancing feature in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth; The block transmission module 400 is used to determine the data transmission size of each file transmission path when the file to be transmitted is transmitted across devices based on the load balancing characteristics and each bandwidth requirement, and to perform block transmission of the file to be transmitted based on each data transmission size.
[0043] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0044] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium, including a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, magnetic disk storage, or magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0045] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
Claims
1. A dynamic path optimization method for cross-device file transfer, characterized in that: The path optimization method comprises the following steps: Obtain the files to be transferred across devices and multiple transfer nodes, and determine the effective bandwidth of the file transfer path between each transfer node; Dividing the file to be transmitted into a plurality of transmission file blocks based on each effective bandwidth, and determining a bandwidth requirement of each transmission file block; Determining a delay fine-tuning factor in cross-device file transfer based on the transmission delay of each file transfer path, and determining a load balancing feature in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth; The data transmission size of each file transmission path when the file to be transmitted is transmitted across devices is determined by the load balancing characteristics and each bandwidth requirement, and the file to be transmitted is transmitted in blocks based on each data transmission size.
2. A dynamic path optimization method for cross-device file transfer according to claim 1, characterized in that: Determining the effective bandwidth of the file transfer path between each transfer node specifically includes: Get the file transfer path between each transfer node; For each file transmission path, obtain the link packet loss rate and available bandwidth between the sending node and the receiving node in the file transmission path; The effective bandwidth of the file transmission path is determined by the link packet loss rate and the available bandwidth, and the effective bandwidth of each file transmission path is obtained.
3. The method for dynamic path optimization of cross-device file transfer according to claim 1, wherein: Dividing the file to be transmitted into multiple transmission file blocks based on each effective bandwidth specifically includes: Obtaining the data volume of each file unit block in the file to be transmitted; All data volumes are clustered based on respective effective bandwidths to obtain multiple transmission file blocks.
4. The method for dynamic path optimization of cross-device file transfer according to claim 1, wherein: Determining the bandwidth requirements for each transferred file block specifically includes: For each transmission file block, obtain the block size and expected transmission time limit in the transmission file block; The bandwidth requirement for transmitting the file block is determined by the block size and the expected transmission time limit, thereby obtaining the bandwidth requirement for each transmission file block.
5. The method for dynamic path optimization of cross-device file transfer according to claim 1, wherein: The delay fine-tuning factors for cross-device file transfers are determined by the transmission delay of each file transfer path, specifically including: Get the transmission delay of each file transmission path; Determine the latency fine-tuning factor for cross-device file transfers based on all transfer delays.
6. A dynamic path optimization method for cross-device file transfer according to claim 1, characterized in that: Determining the load balancing characteristics in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth specifically includes: For each file transmission path, obtain the effective bandwidth in the file transmission path; Determining the load balancing ratio of the file transfer path in cross-device file transfer by using the effective bandwidth and the delay fine-tuning factor, and obtaining the load balancing ratio of each file transfer path in cross-device file transfer; Determine the load balancing characteristics in cross-device file transfer based on all load balancing ratios.
7. The method for dynamic path optimization of cross-device file transfer according to claim 1, wherein: Determining the data transmission size of each file transmission path when the file to be transmitted is transmitted across devices based on the load balancing characteristics and each bandwidth requirement specifically includes: For each file transfer path, obtaining a load balancing ratio of the file transfer path in cross-device file transfer from the load balancing feature; The data transmission size of the file transfer path when the file to be transferred is transferred across devices is determined by the load balancing ratio and the bandwidth requirement of the file transfer path, and the data transmission size of each file transfer path when the file to be transferred is transferred across devices is obtained.
8. The method for dynamic path optimization of cross-device file transfer according to claim 1, wherein: The specific steps of transferring files in blocks based on the data transfer size are as follows: Each data transmission size is used as the transmission bandwidth of each transmission file block in the file to be transmitted, thereby completing the block transmission of the file to be transmitted.
9. The method for dynamic path optimization of cross-device file transfer according to claim 1, wherein: The transmission node is a heterogeneous device cluster based on the edge computing framework.
10. A dynamic path optimization system for cross-device file transfer, configured to execute a dynamic path optimization method for cross-device file transfer according to any one of claims 1 to 9, characterized in that: The dynamic path optimization system for cross-device file transfer includes: An acquisition module is used to obtain files to be transferred across devices and multiple transfer nodes, and determine the effective bandwidth of the file transfer path between each transfer node; A file division module, configured to divide the file to be transmitted into a plurality of transmission file blocks based on respective effective bandwidths, and determine the bandwidth requirement of each transmission file block; A load balancing module is used to determine a delay fine-tuning factor in cross-device file transfer based on the transmission delay of each file transfer path, and determine a load balancing feature in cross-device file transfer based on the delay fine-tuning factor and each effective bandwidth; The block transmission module is used to determine the data transmission size of each file transmission path when the file to be transmitted is transmitted across devices based on the load balancing characteristics and each bandwidth requirement, and to perform block transmission of the file to be transmitted based on each data transmission size.
Citation Information
Patent Citations
Method and system for realizing load balancing in data center network
CN118945116A
Dynamic file transmission optimization method and transmission system
CN119155294A
Load-balancing device and load-balancing method
JP2013168934A
Load balancing and dynamic control of multiple data streams in a network
US20020099844A1