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

A distributed lock implementation method and device

A technology of distributed lock and implementation method, applied in the field of computing resource virtualization, can solve the problem of not providing storage pool support, and achieve the effect of solving the support problem

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

AI Technical Summary

Problems solved by technology

However, in the second scheme, due to the many implementations of storage pools, sanlock does not provide support for various storage pools (such as RBD storage pools, etc.)

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 distributed lock implementation method and device
  • A distributed lock implementation method and device
  • A distributed lock implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] 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.

[0033] 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.

[0034] Due to the many implementations of storage pools, sanlock does not provide support for various storage pools (such as RBD storage pools, etc.).

[0035] In order to solve the above problems, embodiments of the present invention provide a distribute...

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 distributed lock realization method and device. It involves the field of virtualization of computing resources, and solves the support problem of storage pool lock resources. The method includes: identifying the type of the current storage pool; selecting an execution mode according to the type of the current storage pool; and completing reading and writing of the distributed lock in the selected execution mode. The technical scheme provided by the invention is suitable for computer clusters, and realizes distributed locks compatible with various storage pools.

Description

technical field [0001] The invention relates to computing resource virtualization technology, in particular to a distributed lock implementation method and device. Background technique [0002] With the rapid development of computer technology and network technology, large clusters have been widely used in actual production environments. By virtualizing the cluster, a cloud computing platform is formed. In a virtualization system, it is often necessary to coordinate actions, and different systems or different hosts in the same system share the same resource or a group of resources. When sharing resources, mutual exclusion is often required to prevent mutual interference and ensure consistency, so distributed locks are needed to ensure the above situation. [0003] Distributed locks generally need to support the use of distributed locks in large-scale environments, so sanlock is used to manage resources in virtualization systems. For sanlock, there are generally two ways t...

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): G06F9/52G06F16/23
CPCG06F9/526
Inventor 马怀旭
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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