File read/write method and mobile terminal
First Claim
1. A file read/write method used in a mobile terminal, comprising:
- determining whether a file to be read/written is a large file, wherein the file to be read/written is a file to be written into a calling card of the mobile terminal or a file to be read from the calling card;
when determining that the file to be read/written is the large file, negotiating with the calling card a rate of reading/writing the large file, and replacing a standard rate with a high rate as a file read/write rate of the calling card, wherein the rate of reading/writing the large file is negotiated by the mobile terminal sending an application protocol data unit (APDU) data packet to the calling card, wherein the APDU data packet comprises a command type of a current data frame, a rate negotiation instruction, and a new transmission rate value;
reading the file to be read/written from the calling card or writing the file to be read/written into the calling card according to the high rate; and
automatically recovering the standard rate when the reading or the writing according to the high rate is completed.
3 Assignments
0 Petitions
Accused Products
Abstract
A file read/write method includes: determining whether a file to be read/written is a large file, where the file to be read/written is a file to be written into a calling card of the mobile terminal or a file to be read from the calling card; when a determining result is yes, negotiating with the calling card a rate of reading/writing the large file, and replacing a standard rate with a high rate as a file read/write rate of the calling card; and reading the file to be read/written from the calling card or writing the file to be read/written into the calling card according to the high rate. In the present invention, the file transmission rate may be automatically modified according to the size of a file to be read/written, so as to effectively shorten time of large-file read/write performed with a calling card.
3 Citations
20 Claims
-
1. A file read/write method used in a mobile terminal, comprising:
-
determining whether a file to be read/written is a large file, wherein the file to be read/written is a file to be written into a calling card of the mobile terminal or a file to be read from the calling card; when determining that the file to be read/written is the large file, negotiating with the calling card a rate of reading/writing the large file, and replacing a standard rate with a high rate as a file read/write rate of the calling card, wherein the rate of reading/writing the large file is negotiated by the mobile terminal sending an application protocol data unit (APDU) data packet to the calling card, wherein the APDU data packet comprises a command type of a current data frame, a rate negotiation instruction, and a new transmission rate value; reading the file to be read/written from the calling card or writing the file to be read/written into the calling card according to the high rate; and automatically recovering the standard rate when the reading or the writing according to the high rate is completed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A mobile terminal connected to a calling card, comprising:
a computer processor configured to; determine whether a file to be read/written is a large file, wherein the file to be read/written is a file to be written into the calling card or a file to be read from the calling card; when a determining result is that the file to be read/written is the large file, negotiate with the calling card a rate of reading/writing the large file, and replace a standard rate with a high rate as a file read/write rate of the calling card, wherein the rate of reading/writing the large file is negotiated by the mobile terminal sending an application protocol data unit (APDU) data packet to the calling card, wherein the APDU data packet comprises a command type of a current data frame, a rate negotiation instruction, and a new transmission rate value; read the file to be read/written from the calling card or write the file to be read/written into the calling card according to the high rate; and automatically recover the standard rate when the reading or the writing according to the high rate is completed. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
Specification