# US 2013/0297749 A1 · File downloading method and system for terminal

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

- Number: US 2013/0297749 A1
- Document ID: US20130297749A1
- Status: Published application
- Kind: A1
- Application number: 13/934,016
- Filed: 2013-07-02
- Published: 2013-11-07
- Earliest claimed: 2011-01-04
- Assignees: Huawei Device Co., Ltd.
- Applicants: Huawei Device Co., Ltd.
- Inventors: Qinliang ZHANG; Huangwei WU; Yu ZHU; Junjie ZHAO; Zhiqin HE
- Web page: https://patentgrep.com/patent/US20130297749A1

## CPC

- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present invention discloses a file downloading method and system for a terminal in the present invention, the terminal uses a download channel parameter carried in a file download command to set download channel indication information in a file download request message, where the download channel indication information may instruct a management device to select a forwarding interface to forward the file download request message to a correct file server; then the file server sends a file to the terminal, which can achieve the purpose of downloading the file from the correct file server, thus avoiding the problem that downloading fails because the terminal cannot find the file. The present invention is mainly used for upgrading a broadband network device.

## Claims

### Claim 1

A file downloading method for a terminal, comprising:
sending a file download command to the terminal, wherein the file download command comprises a download channel parameter;
receiving a file download request message sent by the terminal;
selecting a forwarding interface according to download channel indication information in the file download request message, and forwarding the file download request message to a file server through the forwarding interface, wherein the download channel indication information is set by the terminal according to the download channel parameter; and
forwarding a file sent by the file server to the terminal.

### Claim 2 (depends on 1)

The file downloading method for a terminal according to claim 1, wherein the setting the download channel indication information by the terminal comprises: adding, by the terminal, a download channel identifier to the file download request message according to the download channel parameter; and
the selecting the forwarding interface according to the download channel indication information comprises: selecting the forwarding interface corresponding to an identifier value of the download channel identifier.

### Claim 3 (depends on 1)

The file downloading method for a terminal according to claim 1, wherein the setting the download channel indication information by the terminal comprises one of the group consisting of (a) and (b):
(a) when the download channel parameter indicates a default forwarding interface, stopping adding, by the terminal, a download channel identifier to the file download request message; and (b) when the download channel parameter indicates a non-default forwarding interface, adding, by the terminal, a corresponding download channel identifier to the file download request message; and
the selecting the forwarding interface according to the download channel indication information comprises one of the group consisting of (i) and (ii):
(i) selecting the default forwarding interface when the file download request message does not comprise the download channel identifier; and (ii) selecting the non-default forwarding interface corresponding to the download channel identifier when the file download request message comprises the download channel identifier.

### Claim 4 (depends on 1)

The file downloading method for a terminal according to claim 1, wherein the download channel parameter is one of: a virtual local area network identifier, a service channel identifier, and a communication interface identifier.

### Claim 5 (depends on 4)

The file downloading method for a terminal according to claim 4, wherein the download channel parameter is set by a management system through a parameter setting command;
before the receiving the file download request message sent by the terminal, the method further comprises:
receiving a file download command response message, wherein the file download command response message is generated after the terminal responds to the file download command; and
generating a parameter setting response message according to the file download command response message, and sending the parameter setting response message to the management system.

### Claim 6

A file downloading method for a terminal, comprising:
receiving a file download command sent by a management device, wherein the file download command comprises a download channel parameter;
setting download channel indication information in a file download request message according to the download channel parameter;
sending the file download request message, wherein the file download request message is forwarded to a file server by the management device through a forwarding interface selected according to the download channel indication information; and
receiving a file sent by the file server.

### Claim 7 (depends on 6)

The file downloading method for a terminal according to claim 6, wherein the setting the download channel indication information comprises: adding a download channel identifier to the file download request message according to the download channel parameter; and
the selecting, by the management device, the forwarding interface for the file download request message comprises: selecting, by the management device, the forwarding interface corresponding to an identifier value of the download channel identifier.

### Claim 8 (depends on 6)

The file downloading method for a terminal according to claim 6, wherein the setting the download channel indication information comprises one of the group consisting of (a) and (b):
(a) when the download channel parameter indicates a default forwarding interface, stopping adding a download channel identifier to the file download request message; and (b) when the download channel parameter indicates a non-default forwarding interface, adding a corresponding download channel identifier to the file download request message; and
the selecting, by the management device, the forwarding interface for the file download request message comprises one of the group consisting of (i) and (ii):
(i) selecting, by the management device, a default forwarding interface when the file download request message does not comprise the download channel identifier; and (ii) selecting, by the management device, the non-default forwarding interface corresponding to the download channel identifier when the file download request message comprises the download channel identifier.

### Claim 9 (depends on 6)

The file downloading method for a terminal according to claim 6, wherein the download channel parameter is one of a virtual local area network identifier, a service channel identifier, and a communication interface identifier.

### Claim 10 (depends on 9)

The file downloading method for a terminal according to claim 9, wherein the download channel parameter is set by a management system through a parameter setting command.

### Claim 11

A file downloading system for a terminal, comprising:
a file download command sending module, configured to send a file download command to the terminal, wherein the file download command comprises a download channel parameter;
a file download request message receiving module, configured to receive a file download request message sent by the terminal;
a file download request message forwarding module, configured to select a forwarding interface according to download channel indication information in the file download request message, and forward the file download request message to a file server through the forwarding interface, wherein the download channel indication information is set by the terminal according to the download channel parameter; and
a file forwarding module, configured to forward a file sent by the file server to the terminal.

### Claim 12 (depends on 11)

The file downloading system for a terminal according to claim 11, wherein the file download request message forwarding module is further configured to add a download channel identifier to the file download request message according to the download channel parameter, and
the file download request message forwarding module is further configured to select a forwarding interface corresponding to an identifier value of the download channel identifier.

### Claim 13 (depends on 11)

The file downloading system for a terminal according to claim 11, wherein the file download request message forwarding module is further configured to implement one of the group consisting of (a) and (b): (a) stopping adding a download channel identifier to the file download request message when the download channel parameter indicates a default forwarding interface; and (b) adding a corresponding download channel identifier to the file download request message when the download channel parameter indicates a non-default forwarding interface; and
the file download request message forwarding module is further configured to implement one of the group consisting of (i) and (ii): (i) selecting a default forwarding interface when the file download request message does not comprise the download channel identifier; and (ii) selecting the non-default forwarding interface corresponding to the download channel identifier when the file download request message comprises the download channel identifier.

### Claim 14 (depends on 11)

The file downloading system for a terminal according to claim 11, wherein the download channel parameter is one of a virtual local area network identifier, a service channel identifier, and a communication interface identifier.

### Claim 15 (depends on 14)

The file downloading system for a terminal according to claim 14, wherein the download channel parameter is set by a management system through a parameter setting command, and the file downloading system further comprises:
a terminal response message receiving module, configured to receive a file download command response message, wherein the file download command response message is generated after the terminal responds to the file download command; and
a server response message sending module, configured to generate a parameter setting response message according to the file download command response message, and send the parameter setting response message to the management system.

### Claim 16

A file downloading system for a terminal, comprising:
a file download command receiving module, configured to receive a file download command sent by a management device, wherein the file download command comprises a download channel parameter;
a download channel indication information setting module, configured to set download channel indication information in a file download request message according to the download channel parameter;
a file download request message sending module, configured to send the file download request message, wherein the file download request message is forwarded to a file server by the management device through a forwarding interface selected according to the download channel indication information; and
a file receiving module, configured to receive a file sent by the file server.

### Claim 17 (depends on 16)

The file downloading system for a terminal according to claim 16, wherein the download channel indication information setting module is further configured to add a download channel identifier to the file download request message according to the download channel parameter; and
the download channel indication information setting module is further configured to select a forwarding interface corresponding to an identifier value of the download channel identifier.

### Claim 18 (depends on 16)

The file downloading system for a terminal according to claim 16, wherein the download channel indication information setting module is further configured to implement one of the group consisting of (a) and (b): (a) stopping adding a download channel identifier to the file download request message when the download channel parameter indicates a default forwarding interface; and (ii) adding a corresponding download channel identifier to the file download request message when the download channel parameter indicates a non-default forwarding interface; and
the download channel indication information setting module is further configured to implement one of the group consisting of (i) and (ii): (i) selecting a default forwarding interface when the file download request message does not comprise the download channel identifier; and (b) selecting the non-default forwarding interface corresponding to the download channel identifier when the file download request message comprises the download channel identifier.

### Claim 19 (depends on 16)

The file downloading system for a terminal according to claim 16, wherein the download channel parameter is one of a virtual local area network identifier, a service channel identifier, and a communication interface identifier.

### Claim 20 (depends on 19)

The file downloading system for a terminal according to claim 19, wherein the download channel parameter is set by a management system through a parameter setting command.
