Electronic device, storage medium and file transferring method
Abstract:
The present invention discloses an electronic device, a storage medium and a method for transferring a file. The method includes: acquiring transferring parameters of at least one file segment that is already transferred to a target device, wherein the transferring parameters include size and transferring rate; calculating a transferring rate varying index according to the transferring parameters; determining whether the transferring rate varying index is less than a predefined first threshold value, and if the transferring rate varying index is less than the first threshold value, updating a current transferring state with a different state; acquiring a coefficient corresponding to the current transferring state, and setting a size of a current file segment as a product of the coefficient and a size of a last transferred file segment; cutting out the current file segment from the file according to the set size of the current file segment for transferring.
Public/Granted literature
Information query
Patent Agency Ranking
0/0