# US 2004/0064522 A1 · Placing an object at a node in a peer-to-peer system based on a zoom-in algorithm

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

- Number: US 2004/0064522 A1
- Document ID: US20040064522A1
- Status: Published application
- Kind: A1
- Application number: 10/260,431
- Filed: 2002-10-01
- Published: 2004-04-01
- Earliest claimed: 2002-10-01
- Assignees: Hewlett-Packard Development Company, L.P.
- Inventors: Zheng Zhang; Mallik Mahalingam; Zhichen Xu; Wenting Tang
- Web page: https://patentgrep.com/patent/US20040064522A1

## CPC

- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- H04L 67/1042: using topology management mechanisms
- H04L 67/1044: {Group management mechanisms (management of multicast group membership H04L12/185; reconfiguring of node membership in a computing system to eliminate errors G06F11/1425)}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 69/329: in the application layer [OSI layer 7]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A peer-to-peer system is divided into a plurality of zones for placing an object. A parent zone having a parent node is identified. The parent zone is divided into the plurality of zones, i.e., subzones, and one of subzones is selected. A node in the subzone is selected for placing the object.

## Claims

### Claim 1

A method for placing an object in a peer-to-peer system using a zoom-in algorithm, the method comprising steps of:
selecting a parent zone having a plurality of nodes in the peer-to-peer system, the parent zone including a node hosting a parent object;
dividing the parent zone into k subzones;
selecting one of the subzones;
selecting a node in the selected subzone; and
placing the object in the selected subzone.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of selecting one of the subzones comprises randomly selecting one of the subzones.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of selecting the node in the selected subzone further comprises randomly selecting the node in the selected subzone.

### Claim 4 (depends on 3)

The method of claim 3, wherein the step of selecting a node in the selected subzone further comprises steps of:
determining a storage utilization for the randomly selected node;
identifying a neighbor node of the randomly selected node, wherein the identified neighbor node has a lowest storage utilization among at least some neighbor nodes of the randomly selected node; and
comparing the storage utilization of the randomly selected node to the storage utilization of the identified neighbor node for placing the object.

### Claim 5 (depends on 4)

The method of claim 4, wherein the step of selecting the node in the selected subzone further comprises a step of selecting one of the randomly selected node and the identified neighbor node based on the comparison.

### Claim 6 (depends on 4)

The method of claim 4, wherein the step of comparing further comprises steps of:
determining whether the storage utilization of the identified neighbor node is less than the storage utilization of the initial node; and
selecting the randomly selected node in response to the storage utilization of the identified neighbor node being greater than the storage utilization of the randomly selected node.

### Claim 7 (depends on 6)

The method of claim 6, wherein the step of comparing further comprises steps of:
determining whether a difference between the storage utilization of the randomly selected node and the storage utilization of the identified neighbor node is greater than a threshold in response to the storage utilization of the identified neighbor node being less than the storage utilization of the randomly selected node;
selecting the randomly selected node in response to the difference being less than the threshold; and
determining whether a time-to-live (TTL) value associated with placement of the object is greater than a TTL threshold in response to the difference being greater than the threshold.

### Claim 8 (depends on 7)

The method of claim 7, wherein the step of comparing further comprises steps of:
in response to the TTL value not being greater than the TTL threshold, comparing the storage utilization of the identified neighbor node with a storage utilization of a second neighbor node for placing the object, the second neighbor node being a neighbor to the identified neighbor node; and
determining whether to select one of the identified neighbor node, the second neighbor node and another node in the peer-to-peer system based on the comparison.

### Claim 9 (depends on 7)

The method of claim 7, wherein the step of comparing further comprises steps of:
in response to the TTL value being greater than the TTL threshold, selecting the randomly selected node.

### Claim 10 (depends on 1)

The method of claim 1, wherein k is one of 2, 4, and 8.

### Claim 11 (depends on 1)

The method of claim 1, wherein a distributed file system having a known tree structure is overlaid on the peer-to-peer system, and the step of dividing the parent zone further comprises steps of:
traversing the entire tree in post-order to assign a weight to each node, the weight being associated with a storage requirement for a sub-tree rooted at each node; and
assigning each node to a zone having a size proportional to the weight assigned to that node.

### Claim 12 (depends on 11)

The method of claim 11, wherein the step of selecting one of the subzones further comprises steps of:
determining whether the shape of the tree is changed due to new objects being placed; and
selecting one of the subzones having the least number of nodes.

### Claim 13 (depends on 1)

The method of claim 1, wherein the object being placed is a child object to the parent object.

### Claim 14 (depends on 13)

The method of claim 13, wherein further comprising steps of:
setting the subzone where the child object is placed to be the parent zone; and
placing a second child object by repeating the steps of dividing the parent zone; selecting one of the subzones; and selecting a node for placing the second child object, wherein the second child object is being a child of the child object.

### Claim 15

A peer-to-peer system comprising:
a plurality of nodes including a parent node hosting a parent object;
the parent node being operable to identify a parent zone including the parent node and to divide the parent zone into a plurality of subzones for placing a child object associated with the parent object.

### Claim 16 (depends on 15)

The peer-to-peer system of claim 15, wherein the parent node is further operable to randomly select one of the plurality of subzones for placing the child object.

### Claim 17 (depends on 16)

The peer-to-peer system of claim 16, wherein the parent node is further operable to randomly select a node in the selected subzone for placing the child object.

### Claim 18 (depends on 17)

The peer-to-peer system of claim 17, wherein the plurality of nodes function as a distributed, file system having a tree structure including a plurality of parent objects and child objects.

### Claim 19

A node in a peer-to-peer system comprises:
means for selecting a parent zone having a plurality of nodes in the peer-to-peer system, the parent zone including a node hosting a parent object;
means for dividing the parent zone into k subzones;
means for selecting one of the subzones;
means for selecting a node in the selected subzone; and
means for placing the object in the selected subzone.

### Claim 20 (depends on 19)

The node of claim 19, wherein means for selecting one of the subzones further comprises means for randomly selecting one of the subzones.

### Claim 21 (depends on 19)

The node of claim 19, wherein the means for selecting a node in the selected subzone further comprises means for randomly selecting a node in the selected subzone.

### Claim 22 (depends on 21)

The node of claim 21, wherein the means for selecting a node in the selected subzone further comprises:
means for determining a storage utilization for the randomly selected node;
means for identifying a neighbor node of the randomly selected node, wherein the identified neighbor node has a lowest storage utilization among at least some neighbor nodes of the randomly selected node; and
means for comparing the storage utilization of the randomly selected node to the storage utilization of the identified neighbor node for placing the object.
