Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for data migration in peer-to-peer network

A peer-to-peer network and data technology, applied in the network field, can solve the problems of not considering adding node data information, a large amount of network data, and no connection, so as to reduce the transmission volume, ensure normal operation, and improve speed and reliability. Effect

Inactive Publication Date: 2012-10-17
ZTE CORP
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] It can be seen from the above description that in the existing migration process, the configuration server only assigns node IDs to joining nodes based on their capabilities and network load conditions, without considering the data information stored by the joining nodes themselves. The node ID assigned to the joining node has a certain degree of randomness, which in turn will cause greater uncertainty in the data that the joining node is about to take over. Therefore, in many cases, the data that the joining node is about to take over will be different from its own storage. There is no connection between the data. At this time, the receiving node needs to send all the migrated data to the joining node. This will cause a large amount of network data and cause a serious impact on the network.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for data migration in peer-to-peer network
  • Method and system for data migration in peer-to-peer network
  • Method and system for data migration in peer-to-peer network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] The application scenario of this embodiment is: a node joining process. In the following description, a node that requests to join is called a joining node, and a node that is currently responsible for storing the data acquired by the joining node is called an accepting node. This embodiment realizes the method of selecting data migration target node and data migration, such as image 3 shown, including the following steps:

[0068] Step 301: If the joining node wants to join the P2P network, it first sends a joining request to the configuration server;

[0069] Here, the joining request includes data version information stored locally at the joining node;

[0070] The data version information refers to information that the configuration server can determine a suitable node ID according to the data version information and its own related information. The data version information may specifically be: a data version number, and / or a modification Timestamp, and / or summar...

Embodiment 2

[0095] The application scenario of this embodiment is: a node exit process. In the following description, the node that requests to exit is called the exit node, and the node that is about to take over the migrated data is called the new responsible node. This embodiment implements the method of data migration, such as Figure 4 shown, including the following steps:

[0096] Step 401: If the exit node wants to exit the P2P network, it first sends an exit request to the configuration server, requesting the configuration server to provide a suitable new responsible node;

[0097] Here, the exit request includes data version information locally stored by the exit node.

[0098] Steps 402-403: After receiving the request, the configuration server requests the locally stored data version information from a suitable node in the P2P network; after receiving the request, the node sends its own current data version information to the configuration server;

[0099] Here, the data vers...

Embodiment 3

[0124] The application scenario of this embodiment is: a node overload process. In the following description, a node that is overloaded and requests load migration is called an overloaded node, and a node that is about to take over the migrated data is called a light-loaded node. This embodiment implements the method of data migration, such as Figure 5 shown, including the following steps:

[0125] Step 501: The overloaded node wants to migrate part of the data to other nodes, firstly sends a load migration exit request to the configuration server, and requests the configuration server to provide a suitable light-loaded node;

[0126] Here, the load migration request includes data version information stored locally on the overloaded node.

[0127] Steps 502-503: After receiving the request, the configuration server requests the locally stored data version information from the appropriate light-loaded node in the P2P network; after receiving the request, the light-loaded node...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and system for data migration in a peer-to-peer (P2P) network. The method comprises the following steps that: when it is needed to carry out data migration, according to data version information of a node sending a join request, a withdrawal request or a load migration request as well as data version information of other active nodes in a current network, a configuration server distributes a data source node or a data target node to a node sending the request; the data source nodes compares current data version information of the migration data with data version information corresponding to the data target node, determines increment data and sends the increment data to the data target node; and the data target node restores data of the latest version according to the increment data and data stored by the data target node itself. According to the invention, the data volume of data migration in a P2P network can be substantially reduced, thereby ensuring normal working of the network.

Description

technical field [0001] The invention relates to a peer-to-peer (P2P, Peer-to-Peer) network technology, in particular to a method and system for data migration in a P2P network. Background technique [0002] In recent years, P2P network technology, as a distributed Internet technology, has developed very rapidly. Different from the traditional client / server (C / S, Client / Server) technology, all nodes in the P2P network can be used as servers and clients. The data in the P2P network is stored on the nodes in a distributed manner, and the business is realized by the nodes through distribution. [0003] Since all nodes in the P2P network store the data necessary for network operation, when a node joins, or exits the network, or performs load balancing, data migration between nodes is required, that is, the data stored by a certain node The data is copied to another node to ensure that data will not be lost and maintain data integrity. For example, in the resource location and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/08H04L12/56
Inventor 王炜胡学川
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products