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

A method and device for implementing a distributed exclusive lock

An implementation method and distributed lock technology, applied in the field of virtualized computing platforms, can solve problems such as residual lock resources, and achieve the effect of solving residual lock resources

Active Publication Date: 2021-11-26
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The lock resource is managed through the lease process, which solves the problem of RBD-based distributed lock resource residue

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
  • A method and device for implementing a distributed exclusive lock
  • A method and device for implementing a distributed exclusive lock
  • A method and device for implementing a distributed exclusive lock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0035] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0036] In the existing RBD-based distributed lock system, when the node is offline or the network is disconnected, it is easy to cause lock resources to remain.

[0037] In order to solve the above problems, an embodiment of the present invention provides...

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 device for realizing a distributed exclusive lock. It involves virtualized computing platform technology, and solves the problem of residual resources of distributed locks based on RBD. The method includes: maintaining a lease process; when a node acquires a lock resource, it registers with the lease process, and completes the I / O operation on the distributed lock through the lease process. The technical solution provided by the invention is applicable to the Sanlock distributed lock, and realizes the distributed lock system supporting the lease.

Description

technical field [0001] The invention relates to a virtualized computing platform technology, in particular to a method and device for realizing a distributed exclusive lock. Background technique [0002] With the rapid development of computer technology and network technology, large clusters are widely used in actual production environments. By virtualizing server clusters, a cloud computing platform virtualization system is formed. In the virtualization system, coordinated actions are often required. Different systems or different hosts in the same system share the same resource or a group of resources, often requiring mutual exclusion. To prevent mutual interference and ensure consistency, distributed locks are needed to ensure the normal operation of the system under the above circumstances. [0003] Distributed locks generally need to support the use of large-scale environments, so distributed locks with leases need to be used to ensure the uniqueness of the node that a...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0604G06F3/0631G06F3/067
Inventor 马怀旭
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More