Method and system for dynamically fragmenting and uploading data file
The invention discloses a data file dynamic fragmentation uploading method, which comprises the following steps of: creating a new fragmentation task, and obtaining a suggested fragmentation size, a suggested concurrent number and a unique identifier ID corresponding to an uploading task; whether re...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a data file dynamic fragmentation uploading method, which comprises the following steps of: creating a new fragmentation task, and obtaining a suggested fragmentation size, a suggested concurrent number and a unique identifier ID corresponding to an uploading task; whether recently uploaded speed data exist or not is checked, and if not, the obtained suggested fragment size and the obtained suggested concurrent number are adopted as a distribution scheme; if the speed data is uploaded recently, the fragment size and the concurrent number are calculated to serve as a distribution scheme; executing uploading according to the allocation scheme, and recording the size of the uploaded fragments, the concurrent number and the uploading time; according to the fragment uploading result, whether all the fragments are successfully uploaded or not is determined, and if yes, the uploaded fragments are combined, and the fragment uploading task is completed. According to the method, fragmentation up |
---|