Unlock instant, AI-driven research and patent intelligence for your innovation.

Lock resource migration method, nodes and distributed system

A distributed system and source node technology, applied in the field of electronics, can solve problems such as greater impact on operating efficiency

Inactive Publication Date: 2015-04-01
HUAWEI TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a method for migrating lock resources, a node, and a distributed system, which are used to solve the technical problem existing in the prior art that migrating lock resources has a great impact on the operating efficiency of the distributed system, and realize the reduction of migrating lock resources. The technical effect of resource impact on the operational efficiency of a distributed system

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
  • Lock resource migration method, nodes and distributed system
  • Lock resource migration method, nodes and distributed system
  • Lock resource migration method, nodes and distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] Embodiments of the present invention provide a lock resource migration method node and a distributed system, which are used to solve the technical problem in the prior art that the migration of lock resources has a great impact on the operating efficiency of the distributed system, and realize the reduction of migration lock resources The impact of technical effects on the operational efficiency of distributed systems.

[0077] In the embodiment of the present invention, after the migration source node receives the notification message for notifying that a node in the distributed system is online or offline, it divides the migration data of the lock resource into full migration data and incremental migration data. First, the full migration data Send to the migration destination node. After the migration destination node receives the full amount of migration data, set the status of the lock resource to stop service, and then send the incremental migration data to the migr...

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 provides a lock resource migration method, nodes and a distributed system. The method comprises the following steps: receiving a notification message by a migration source node, wherein the notification message is used for informing about that nodes are on line or off line in the distributed system; sending full-quantity migration data of a lock resource to a migration destination node by the migration source node, wherein the full-quantity migration data are lock resource data in the migration source node from the moment at which the migration source node starts to provide lock service to the moment at which the notification message is received by the migration source node; after the full-quantity migration data are received by the migration destination node, setting the state of the lock resource as a stop service state by the migration source node; sending incremental migration data to the migration destination node by the migration source node, wherein the incremental migration data are lock resource data in the migration source node from the moment at which the notification message is received by the migration source node to the moment at which the state of the lock resource is set as the stop service state.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a lock resource migration method, a node and a distributed system. Background technique [0002] There are multiple nodes in a distributed system. When at least two of the multiple nodes perform write operations on the same file at the same time, or perform write and read operations on the same file at the same time, conflicts will occur. For example: when node A writes a file, node B also writes the same file, and the file operation will conflict. Another example: when node A performs a write operation on a file, node B also performs a read operation on the same file, and the file operation will also cause conflicts. Also for example: node A reads the range [0,100] of a file, and node B also performs write operations on the range [50,100] of the same file, and file operations will also cause conflicts. Since a file has multiple intervals, different nodes perform read and w...

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/18
Inventor 王勋范超陈光
Owner HUAWEI TECH CO LTD