Electronic device, storage medium and file transferring method
First Claim
1. An electronic device, comprising:
- a storage system;
at least one processor;
one or more programs stored in the storage system and executed by the at least one processor, the one or more programs comprising;
a submitting module that submits a file segment to be transferred toward a target device into a transferring queue in a main process of the electronic device;
a delay module that waits for an interrupt request from a first monitoring module in the electronic device;
the first monitoring module that creates and executes a monitoring process that is different from the main process, wherein the monitoring process monitors the upload traffic produced by the main process periodically, and determines whether the main process produces the upload traffic during a preset time period;
in response to determining that the main process has not produced any upload traffic during the preset time period, the first monitoring module sending out the interrupt request to the delay module in the electronic device which comprises information that the main process has not produced any upload traffic during the preset time period;
a second monitoring module that monitors a response from the target device; and
triggers the delay module to stop waiting for the interrupt request when a response from the target device is received.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses an electronic device, a storage medium and a method for transferring a file. The method for transferring the file includes: submitting a file segment to be transferred to a target device to a transferring queue in a main process; waiting for an interrupt signal; monitoring whether the main process produces upload traffic during a preset time period, and if the main process does not produce the upload traffic during the preset time period, sending out an interrupt request which comprises information that the main process does not produce the upload traffic during the preset time period; stopping waiting for the interrupt signal when a response from the target device or the interrupt request are received.
-
Citations
21 Claims
-
1. An electronic device, comprising:
-
a storage system; at least one processor; one or more programs stored in the storage system and executed by the at least one processor, the one or more programs comprising; a submitting module that submits a file segment to be transferred toward a target device into a transferring queue in a main process of the electronic device; a delay module that waits for an interrupt request from a first monitoring module in the electronic device; the first monitoring module that creates and executes a monitoring process that is different from the main process, wherein the monitoring process monitors the upload traffic produced by the main process periodically, and determines whether the main process produces the upload traffic during a preset time period; in response to determining that the main process has not produced any upload traffic during the preset time period, the first monitoring module sending out the interrupt request to the delay module in the electronic device which comprises information that the main process has not produced any upload traffic during the preset time period; a second monitoring module that monitors a response from the target device; and
triggers the delay module to stop waiting for the interrupt request when a response from the target device is received. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 21)
-
-
10. A method for transferring a file, the method comprising:
-
step (a);
submitting a file segment to be transferred toward a target device into a transferring queue in a main process of the electronic device;step (b);
waiting for an interrupt request from a monitoring process, wherein the monitoring process is executed on the electronic device and is different from the main process;step (c);
monitoring, by the monitoring process, the upload traffic produced by the main process periodically;
determining whether the main process produces the upload traffic during a preset time period; and
in response to determining that the main process has not produced any upload traffic during the preset time period, sending out the interrupt request which comprises information that the main process has not produced any upload traffic during the preset time period;step (d);
ending the step (b) when a response from the target device is received. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory storage medium storing a set of instructions, the set of instructions capable of being executed by a processor of an electronic device, cause the electronic device to execute a method for transferring a file, the method comprising:
-
step (a);
submitting a file segment to be transferred toward a target device into a transferring queue in a main process of the electronic device;step (b);
waiting for an interrupt request from a monitoring process, wherein the monitoring process is executed on the electronic device and is different from the main process;step (c);
monitoring, by the monitoring process, the upload traffic produced by the main process periodically;
determining whether the main process produces the upload traffic during a preset time period; and
in response to determining that the main process has not produced any upload traffic during the preset time period, sending out the interrupt request which comprises information that the main process has not produced any upload traffic during the preset time period;step (d);
ending the step (b) when a response from the target device is received. - View Dependent Claims (18, 19, 20)
-
Specification