# US 2009/0271502 A1 · Data distribution method, data distribution system and relevant devices in edge network

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

- Number: US 2009/0271502 A1
- Document ID: US20090271502A1
- Status: Published application
- Kind: A1
- Application number: 12/493,539
- Filed: 2009-06-29
- Published: 2009-10-29
- Earliest claimed: 2007-10-09
- Assignees: Huawei Technologies Co., Ltd.
- Inventors: Chuansong Xue; Zhefeng Yan
- Web page: https://patentgrep.com/patent/US20090271502A1

## CPC

- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/1063: {Discovery through centralising entities}
- H04L 67/108: {characterised by resources being split in blocks or fragments}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A data distribution method, a data distribution system and relevant devices in an edge network are provided. The method includes: obtaining a data download request from a client, and obtaining a content ID of data under a certain protocol, where the content ID is carried in the download request; and searching for an edge network content ID that corresponds to the content ID and uniquely identifies a data content in an edge network, obtaining corresponding client information by using the edge network content ID as an index, and returning data source information that carries the client information to the client. Therefore, the data is sharable as far as possible throughout the edge network, and the impact on the backbone network is relieved effectively.

## Claims

### Claim 1

A data distribution method, comprising:
obtaining a data download request from a client, and obtaining a content ID of data under a specific protocol, wherein the content ID is carried in the data download request; and
searching for an edge network content ID that corresponds to the content ID, obtaining corresponding client information by using the edge network content ID as an index, and returning data source information that carries the client information to the client.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
notifying, if the edge network content ID is not found, a download proxy server to download the data requested by the client to a local storage device;
calculating and storing the edge network content ID of the data;
receiving the edge network content ID returned by a download server, and
sending the edge network content ID and the data source information that carries local storage device information to the client.

### Claim 3 (depends on 2)

The method of claim 2, wherein if the edge network content ID corresponding to the content ID is not found, before the download proxy server finishes downloading the data to the local storage device, the method further comprises:
downloading a part of file data according to preset rules and calculating out a temporary content ID of the edge network;
searching stored temporary content IDs of the edge network;
calculating check data of the data corresponding to a matching temporary content ID of the edge network specific to a currently used download protocol if any matching temporary content ID of the edge network is found;
sending an edge network ID of the data to the client if the check data is determined to be the same as check data of the data being downloaded currently; and
sending the calculated temporary content ID of the edge network to the client, if the check data is determined to be different from the check data of the data being downloaded currently.

### Claim 4 (depends on 3)

The method of claim 3, wherein the method for calculating out the temporary content ID of the edge network further comprises:
performing Hash calculation for file header data of a preset length, file trailer data of a preset length, and file length.

### Claim 5

A data distribution system, comprising:
a request route server, configured to: obtain a data download request from a client, wherein the data download request carries a content ID of data to be downloaded by the client under a protocol, search for an edge network content ID corresponding to the content ID under the protocol, obtain corresponding client information by using the edge network content ID as an index, and return data source information that carries the client information to the client, send the edge network content ID returned by a download proxy server and the data source information that carries proxy server information to the client, and save a mapping between the edge network content ID and the content ID; and
a download proxy server configured to: download the data according to a notification from the request route server, and return the edge network content ID.

### Claim 6 (depends on 5)

The system of claim 5, wherein:
the download proxy server is notified to download the data if the request route server does not store the edge network content ID corresponding to the content ID.

### Claim 7 (depends on 5)

The system of claim 5, wherein:
the download proxy server is further configured to: determine whether data being downloaded currently is already stored, and if the data being downloaded is already stored, stop downloading the data, and send the edge network content ID of the data to the request route server.

### Claim 8 (depends on 7)

The system of claim 7, wherein the download proxy server is further configured to download a part of file data according to preset rules, calculate out a temporary content ID of an edge network, and search temporary content IDs of the edge network already stored by the download proxy server, calculate check data of the data corresponding to the matching temporary content ID of the edge network specific to a current download protocol for a matching temporary content ID of the edge network, and determine that the proxy server already stores the data being downloaded currently if the check data is the same as check data of the data being downloaded currently.

### Claim 9 (depends on 8)

The system of claim 8, wherein the download proxy server is further configured to:
perform a Hash calculation for file header data of a preset length, file trailer data of a preset length, and file length.

### Claim 10 (depends on 8)

The system of claim 8, wherein:
the download proxy server is configured to: download the data according to an instruction of the request route server if the data being downloaded currently is not stored locally, generate and store the edge network content ID, and send the edge network content ID to the request route server.

### Claim 11 (depends on 10)

The system of claim 10, wherein:
the download proxy server is further configured to send the temporary content ID of the edge network to the request route server; and
the request route server is configured to: save the mapping between the temporary content ID of the edge network and the content ID, send the mapping to the client; and update the mapping between the temporary content ID of the edge network and the content ID according to the edge network content ID generated by the download proxy server after the data is downloaded.

### Claim 12 (depends on 11)

The system of claim 11, further comprising a client configured to: obtain a data download instruction based on a download protocol, and send a download request to the request route server, wherein the request carries the content ID of the data to be downloaded by the client under the protocol,
wherein the download proxy server is further configured to: obtain the edge network content ID or the temporary content ID of the edge network, and obtain the data corresponding to the edge network content ID or the temporary content ID of the edge network from a data source; and
the request route server is further configured to save a mapping between the client and the edge network content ID or a temporary network file ID.

### Claim 13

A request route server, comprising:
a protocol mapping unit, configured to: obtain a mapping between a content ID of data under a protocol and an edge network content ID, search for the edge network content ID according to an obtained content ID sent by a first client, and notify a client managing unit if the edge network content ID is found;
the client managing unit is configured to: maintain information about clients that download a same data by using the edge network content ID as an index, obtain corresponding client information according to the edge network content ID found by the protocol mapping unit, send the client information to a first client interaction managing unit, and add a mapping between the edge network content ID and the first client;
the first client interaction managing unit is configured to perform message interaction with a downloading client through a second connection managing unit and send data source information that carries the client information and the edge network content ID to the first client; and
the second connection managing unit is configured to perform message interaction with an external device.

### Claim 14 (depends on 13)

The request route server of claim 13, further comprising:
a download proxy interaction managing unit configured to be notified if the protocol mapping unit fails to find the edge network content ID,
wherein the download proxy interaction managing unit is further configured to perform message interaction with a download proxy server through the second connection managing unit and send a data download notification to the proxy server according to the notification of the protocol mapping unit.

### Claim 15 (depends on 13)

The request route server of claim 13, wherein the client information maintained by the client managing unit comprises:
a client IP address, a client port number, and an indication of a seed user or not.

### Claim 16 (depends on 13)

The request route server of claim 13, wherein:
the download proxy interaction managing unit is configured to obtain the edge network content ID from the download proxy server during message interaction; and
the client managing unit is configured to set up a mapping between the edge network content ID obtained by the download proxy interaction managing unit and the first client.

### Claim 17 (depends on 13)

The request route server of claim 13, wherein:
the data source information further comprises download proxy server information.

### Claim 18

A download proxy server, comprising:
a connection managing unit configured to perform data interaction with an external device;
a client interaction managing unit configured to perform data interaction with a client through the connection managing unit;
a request route server interaction managing unit configured to perform data interaction with a request route server through the connection managing unit, obtain a data download notification from the request route server, send the data download notification to a download proxy unit, receive an edge network content ID returned by the download proxy unit, and send the edge network content ID to the request route server;
the download proxy unit is configured to: download data according to the download notification, and calculate the edge network content ID; and
a storing unit configured to store and manage data content, comprising the edge network content ID and the data corresponding to the edge network content ID.

### Claim 19 (depends on 18)

The download proxy server of claim 18, wherein:
the download proxy unit is further configured to: download a part of the data according to preset rules, calculate a temporary content ID of an edge network, and send it to the storing unit (72), and stop downloading the data if the storing unit determines that the data being downloaded currently is already stored;
the storing unit is further configured to determine whether the data being downloaded currently is already stored according to the temporary content ID of the edge network calculated out by the download proxy unit, notify the download proxy unit if the data being downloaded currently is already stored, save the temporary content ID of the edge network and a mapping between the temporary content ID of the edge network and the data being downloaded currently if the data being downloaded currently is not already stored; and
the request route server interaction managing unit is further configured to obtain and send the edge network content ID of the data stored in the storing unit if the storing unit determines that the data being downloaded currently is already stored, and obtain and send the temporary content ID of the edge network generated by the download proxy unit if the storing unit determines that the data being downloaded currently is not already stored.

### Claim 20 (depends on 18)

The download proxy server of claim 18, wherein:
the download proxy unit is configured to: download the data according to a download request, and then calculate the edge network content ID;
the storing unit (72) is configured to store a mapping between the edge network content ID, the temporary content ID of the edge network, and the data; and
the request route server interaction managing unit is configured to send the edge network content ID calculated out after the download proxy unit finishes downloading the data.

### Claim 21

A machine-readable storage medium having stored thereon, a computer program comprising at least one code section for distributing data, the at least one code section being executable by a machine for causing the machine to perform acts of:
obtaining a data download request from a client, and obtaining a content ID of data under a specific protocol, wherein the content ID is carried in the data download request; and
searching for an edge network content ID that corresponds to the content ID, obtaining corresponding client information by using the edge network content ID as an index, and returning data source information that carries the client information to the client.
