# US 2017/0257323 A1 · Mail Obtaining Method, Terminal, and System

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0257323 A1
- Document ID: US20170257323A1
- Status: Published application
- Kind: A1
- Application number: 15/598,996
- Filed: 2017-05-18
- Published: 2017-09-07
- Earliest claimed: 2014-12-09
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Chengjiao Nie
- Web page: https://patentgrep.com/patent/US20170257323A1

## CPC

- H04L 47/74: measures in reaction to resource unavailability
- H04L 51/10: Multimedia information
- H04L 51/226: Delivery according to priorities
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- H04L 67/61: taking into account QoS or priority requirements
- H04W 28/16: Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W 88/06: adapted for operation in multiple networks {or having at least two operational modes}, e.g. multi-mode terminals
- H04L 12/5692: {Selection among different networks}
- H04L 69/14: Multichannel or multilink protocols
- H04W 48/18: Selecting a network or a communication service
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A method resolves a problem of a slow mail downloading speed caused by a fact that an existing dual-mode dual-pass terminal cannot effectively utilize a network resource. The method includes obtaining a first transmission rate of a first network connection and a second transmission rate of a second network connection, obtaining a new mail list from a mail server, where the new mail list includes identifiers (IDs) of N mails and a data size of each mail in the N mails, creating a first download task and a second download task according to a preset rule, the first transmission rate, the second transmission rate, and the new mail list such that download time of the N mails is the shortest, downloading a mail indicated by the first download task using the first network connection, and downloading a mail indicated by the second download task using the second network connection.

## Claims

### Claim 1

A mail obtaining method, comprising:
obtaining a first transmission rate of a first network connection and a second transmission rate of a second network connection, wherein the first network connection and the second network connection are network connections established by a terminal to a mail server using different network protocols;
obtaining a new mail list from the mail server, wherein the new mail list comprises identifiers (IDs) of N mails and a data size of each mail in the N mails, and wherein N≧1;
creating a first download task and a second download task according to a preset rule, the first transmission rate, the second transmission rate, and the new mail list such that download time of the N mails in the new mail list is the shortest, wherein the first download task comprises IDs of M mails, wherein the second download task comprises IDs of K mails, wherein M≧0, and wherein K≧0;
downloading, using the first network connection, a mail indicated by the first download task; and
downloading, using the second network connection, a mail indicated by the second download task.

### Claim 2 (depends on 1)

The method according to claim 1, wherein creating the first download task and the second download task comprises:
calculating, according to the first transmission rate, a first download value that can be downloaded using the first network connection in a download period;
calculating, according to the second transmission rate, a second download value that can be downloaded using the second network connection in the download period;
allocating the IDs of the M mails to the first network connection according to the first download value and the data size of each mail in the N mails in the new mail list, to create the first download task; and
allocating the IDs of the K mails to the second network connection according to the second download value and the data size of each mail in the N mails in the new mail list, to create the second download task.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the data size of each mail in the N mails comprise a mail header size, a body size, and an attachment size, and wherein allocating the IDs of the M mails to the first network connection comprises:
determining actual download data of each mail in the new mail list, wherein the actual download data comprises at least one of the mail header size, the body size, and the attachment size; and
allocating the IDs of the M mails to the first network connection according to the actual download data of each mail and the first download value, to create the first download task.

### Claim 4 (depends on 3)

The method according to claim 3, wherein creating the first download task and the second download task comprises:
splitting data of an nth mail into first data and second data according to the first transmission rate and the second transmission rate when a data size of the nth mail reaches a preset threshold, wherein the first data comprises at least one of a mail header size, a body size, and an attachment size of the nth mail, wherein the second data comprises at least one of the mail header size, the body size, and the attachment size of the nth mail, and wherein 1≧n≧N;
allocating the first data to the first network connection, to create the first download task; and
allocating the second data to the second network connection, to create the second download task.

### Claim 5 (depends on 1)

The method according to claim 1, wherein after downloading the mail indicated by the first download task, and the mail indicated by the second download task, the method further comprises:
combining the M mails downloaded using the first network connection and the K mails downloaded using the second network connection;
sorting the downloaded M+K mails according to the IDs; and
outputting L mails when IDs of first L mails in the sorted M+K mails are consecutive, wherein 1≦L≦M+K.

### Claim 6 (depends on 1)

The method according to claim 1, wherein obtaining the new mail list from the mail server comprises downloading the new mail list from the mail server using the first network connection when the first transmission rate is greater than the second transmission rate.

### Claim 7

A terminal, comprising:
a memory comprising instructions; and
a processor coupled to the memory, wherein the instructions cause the processor to be configured to:
obtain a first transmission rate of a first network connection and a second transmission rate of a second network connection, wherein the first network connection and the second network connection are network connections established by the terminal to a mail server using different network protocols;
obtain a new mail list from the mail server, wherein the new mail list comprises identifiers (IDs) of N mails and a data size of each mail in the N mails, and wherein N≧1;
create a first download task and a second download task according to a preset rule, the first transmission rate and the second transmission rate, and the new mail list such that download time of the N mails in the new mail list is the shortest, wherein the first download task comprises IDs of M mails, wherein the second download task comprises IDs of K mails, wherein M≧0, and wherein K≧0;
download, using the first network connection, a mail indicated by the first download task; and
download, using the second network connection, a mail indicated by the second download task.

### Claim 8 (depends on 7)

The terminal according to claim 7, wherein the instructions further cause the processor to be configured to:
calculate, according to the first transmission rate, a first download value that can be downloaded using the first network connection in a download period;
calculate, according to the second transmission rate, a second download value that can be downloaded using the second network connection in the download period;
allocate the IDs of the M mails to the first network connection according to the first download value and the data size of each mail in the N mails, to create the first download task; and
allocate the IDs of the K mails to the second network connection according to the second download value and the data size of each mail in the N mails, to create the second download task.

### Claim 9 (depends on 8)

The terminal according to claim 8, wherein the instructions further cause the processor to be configured to:
determine actual download data of each mail in the new mail list, wherein the actual download data comprises at least one of a mail header size, a body size, and an attachment size; and
allocate the IDs of the M mails to the first network connection according to the actual download data of each mail and the first download value, to create the first download task, wherein the data size of each mail in the N mails comprise the mail header size, the body size, and the attachment size.

### Claim 10 (depends on 9)

The terminal according to claim 9, wherein the instructions further cause the processor to be is further configured to:
split data of an nth mail into first data and second data according to the first transmission rate and the second transmission rate when a data size of the nth mail reaches a preset threshold, wherein the first data comprises at least one of a mail header size, a body size, and an attachment size of the nth mail, and wherein the second data comprises at least one of the mail header size, the body size, and the attachment size of the nth mail;
allocate the first data to the first network connection, to create the first download task; and
allocate the second data to the second network connection, to create the second download task.

### Claim 11 (depends on 7)

The terminal according to claim 7, wherein the instructions further cause the processor to be configured to:
combine the M mails downloaded using the first network connection and the K mails downloaded using the second network connection;
sort the downloaded M+K mails according to the IDs; and
output L mails when IDs of first L mails in the sorted M+K mails are consecutive, wherein 1≦L≦M+K.

### Claim 12 (depends on 7)

The terminal according to claim 7, wherein instructions further cause the processor to be configured to download the new mail list from the mail server using the first network connection when the first transmission rate is greater than the second transmission rate.

### Claim 13

A communications system, comprising:
a terminal; and
a mail server connected to the terminal,
wherein the terminal comprises a processor configured to:
obtain a first transmission rate of a first network connection and a second transmission rate of a second network connection, wherein the first network connection and the second network connection are network connections established by the terminal to the mail server using different network protocols;
obtain a new mail list from the mail server, wherein the new mail list comprises identifiers (IDs) of N mails and a data size of each mail in the N mails, and wherein N≧1;
create a first download task and a second download task according to a preset rule, the first transmission rate, the second transmission rate, and the new mail list such that download time of the N mails in the new mail list is the shortest, wherein the first download task comprises IDs of M mails, wherein the second download task comprises IDs of K mails, wherein M≧0, and wherein K≧0;
download, using the first network connection, a mail indicated by the first download task; and
download, using the second network connection, a mail indicated by the second download task.

### Claim 14 (depends on 13)

The communications system according to claim 13, wherein the processor is further configure to:
calculate, according to the first transmission rate, a first download value that can be downloaded using the first network connection in a download period;
calculate, according to the second transmission rate, a second download value that can be downloaded using the second network connection in the download period;
allocate the IDs of the M mails to the first network connection according to the first download value and the data size of each mail in the N mails, to create the first download task; and
allocate the IDs of the K mails to the second network connection according to the second download value and the data size of each mail in the N mails, to create the second download task.

### Claim 15 (depends on 14)

The communications system according to claim 14, wherein the processor is further configure to:
determine actual download data of each mail in the new mail list, wherein the actual download data comprises at least one of a mail header size, a body size, and an attachment size; and
allocate the IDs of the M mails to the first network connection according to the actual download data of each mail and the first download value, to create the first download task, wherein the data size of each mail in the N mails comprise the mail header size, the body size, and the attachment size.

### Claim 16 (depends on 15)

The communications system according to claim 15, wherein the processor is further configure to:
split data of an nth mail into first data and second data according to the first transmission rate and the second transmission rate when a data size of the nth mail reaches a preset threshold, wherein the first data comprises at least one of a mail header size, a body size, and an attachment size of the nth mail, and wherein the second data comprises at least one of the mail header size, the body size, and the attachment size of the nth mail;
allocate the first data to the first network connection, to create the first download task; and
allocate the second data to the second network connection, to create the second download task.

### Claim 17 (depends on 13)

The communications system according to claim 13, wherein the processor is further configure to:
combine the M mails downloaded using the first network connection and the K mails downloaded using the second network connection;
sort the downloaded M+K mails according to the IDs; and
output L mails when IDs of first L mails in the sorted M+K mails are consecutive, wherein 1≦L≦M+K.

### Claim 18 (depends on 13)

The communications system according to claim 13, wherein the processor is further configure to download the new mail list from the mail server using the first network connection when the first transmission rate is greater than the second transmission rate.
