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

Method for authorizing lock permission and distributed lock manager

A distributed lock and lock manager technology, applied in the field of communication, can solve the problems of low efficiency and time-consuming, and achieve the effects of reducing the burden on equipment, improving the efficiency of authorization, and shortening the waiting time for authorization.

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

AI Technical Summary

Problems solved by technology

[0005] When the scale of the distributed system is large, the number of users who lock resources reaches 100,000 or even millions. At this time, the authorization queue will be quite large. The authorization method in the prior art will obviously lead to a time-consuming and inefficient technology. question

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 for authorizing lock permission and distributed lock manager
  • Method for authorizing lock permission and distributed lock manager
  • Method for authorizing lock permission and distributed lock manager

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Embodiments of the present invention provide a method for authorizing lock permissions and a distributed lock manager, which are used to improve the efficiency of lock resource managers in a distributed system in granting requested permissions.

[0036] The technical solutions in the embodiments of the present invention are to solve the above-mentioned technical problems, and the method for authorizing lock authority in the present invention includes the following contents:

[0037]First receive the lock request, and obtain the lock permission requested by the lock request; when judging the requested lock permission and the authorized lock permission recorded in the distributed lock manager according to the lock permission compatibility list When the levels do not conflict, authorize the requested lock permission; finally return the requested lock permission. Therefore, it avoids conflict judgment between the lock permission requested by the lock request and the authori...

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 embodiment of the invention provides a method for authorizing lock permission and a distributed lock manager, and aims to increase the authorizing efficiency of a lock resource manager in a distributed system for requested lock permission. The method comprises the following steps: receiving a lock request, and acquiring the lock permission requested by the lock request; when a judgment indicating that the requested lock permission does not conflict with the highest level of authorized lock permission recorded in the distributed lock manager is made according to a lock permission compatibility list, authorizing the requested lock permission; and returning the requested lock permission.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for authorizing lock authority and a distributed lock manager. Background technique [0002] In a distributed system, a distributed lock is a way to control access to shared resources between distributed systems. Only with the authorization of the lock permission, the corresponding application or computer has permission to access the shared resource. [0003] At present, the lock manager in the distributed system judges whether the lock permission can be authorized by traversing the entire queue of authorized lock permissions, and judging whether there is a conflict between the requested lock permission and each authorized lock permission. When the requested lock permission does not conflict with all authorized lock permissions, the lock manager can authorize the lock permission; conversely, if the request lock conflicts with any of the authorized locks, the reques...

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): G06F9/52G06F9/46H04L29/08
Inventor 范颂颂冯锐
Owner HUAWEI 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