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

Method used for realizing distributed lock management and equipment thereof

A technology of distributed locks and user equipment, applied in the computer field, can solve problems such as difficult access at the business level and difficulty in customizing distributed lock services in line with business scenarios at the business level

Active Publication Date: 2017-04-19
ALIBABA GRP HLDG LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Under the existing implementation technology, the management of the owner and validity period of the distributed lock is actually the distributed lock management established between the user equipment and the network equipment, and the distributed lock itself is the management of the distributed lock between the user equipment and the network equipment. The established connections are coupled together, and the business level is difficult to reach
This kind of distributed lock management mechanism, which is similar to a black box for the business layer, makes it difficult for the business layer to customize distributed lock services that meet business scenarios as needed.

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 used for realizing distributed lock management and equipment thereof
  • Method used for realizing distributed lock management and equipment thereof
  • Method used for realizing distributed lock management and equipment thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0129] The application will be described in further detail below in conjunction with the accompanying drawings.

[0130] figure 1 A topological diagram of a system for serving distributed locks according to one aspect of the present invention is shown, which includes a network device 1 and a plurality of user devices 2 connected to it via a network.

[0131] Among them, the network device 1 can be connected to multiple user devices 2 via the network. After the user device 2 (that is, the user device 2) establishes a connection with the network device 1 (that is, the network device 1) in the distributed lock service system, a The user equipment 2 thread (Session) binds the user equipment 2 to the session with the network equipment 1, and the user equipment 2 and the network equipment 1 update the session lifetime through regular heartbeats. The user equipment 2 will update the lifetime of the user equipment 2 thread on the corresponding connection through regular heartbeats wi...

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 aims at providing equipment and a method used for realizing distributed lock management, and the equipment and the method are based on public management information. Through disclosing management information of a distributed lock owner and validity period information, the distributed lock owner and the validity period information which are originally entrusted to thread management between user equipment and network equipment are publicized so that a service layer can high-efficiently and flexibly customize a distributed lock service according with a service scene. Further, a user equipment process which fails to grasp distributed locks actively subscribes a distributed lock file; when a distributed lock possessor process actively releases the distributed locks, each user equipment process can timely acquire a change notice so as to grasp the distributed locks again; and finally a switching process of a distributed lock owner is accelerated.

Description

technical field [0001] The present application relates to the field of computers, and in particular to a technology for implementing distributed lock management. Background technique [0002] Each computing node in a large-scale cloud computing system needs to coordinate its own actions, or access a group of shared resources with mutual exclusion. These actions all need to rely on distributed lock services to prevent mutual interference and ensure distributed data consistency. Distributed locks are widely used in large-scale distributed computing environments. User device processes distributed on different computing nodes usually rely on distributed locks to access shared resources to ensure data distributed consistency. [0003] Under the existing implementation technology, the management of the owner and validity period of the distributed lock is actually the distributed lock management established between the user equipment and the network equipment, and the distributed l...

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/24
CPCH04L41/04H04L67/10
Inventor 朱云锋成柱石陶云峰卢毅军
Owner ALIBABA GRP HLDG 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