Control method and device of distributed-type lock

A distributed lock and control method technology, applied in the computer field, can solve the problems of inability to distribute lock control, complex Zookeeper maintenance, etc., and achieve the effect of accurate control

Inactive Publication Date: 2018-03-20
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This technology allows for better management of locked systems based on their usage patterns over time. It uses sensors that detect if there are any new requests made after each use period (expired) without actually occupying space within them. If no more requests were detected before this interval, it will release all available locks again until they get used up completely. By doing these actions efficiently and accurately, system administrators have improved efficiency and accuracy in managing large groups of loves.

Problems solved by technology

This patented technical problem addressed by this patents relates to controlling distributed locker functions effectively with current methods involving zlokers (a type of computer program). These techniques are complicated but may work well even at larger scales where multiple servers have access shared resource(s) like CPU memory), making them difficult to manage properly.

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
  • Control method and device of distributed-type lock
  • Control method and device of distributed-type lock
  • Control method and device of distributed-type lock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0030] 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 with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0031] figure 1 An exemplary system architecture 100 to which the method for controlling a distributed lock or the device for controlling a distributed lock of the present application can be applied is shown.

[0032] like figure 1 As shown, the system architecture 100 may...

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 control method and device of a distributed-type lock. The method includes the specific implementation steps of receiving a locking request sent by a client side for the distributed-type lock, wherein the locking request includes an identification of the distributed-type lock; executing judgment procedures. The judgment procedures include the following content of determining whether or not the distributed-type lock indicated by the locking request is occupied; determining whether or not expiration time is set for the distributed-type lock in response to the situation that the distributed-type lock is occupied; if yes, obtaining the remaining valid time length of the distributed-type lock, wherein the remaining valid time length is the difference value between the expiration time and the current time; unlocking the distributed-type lock and executing the judgement procedures again in response to the situation that the expiration time is not set for the distributed-type lock or the remaining valid time length is equal to zero. The control method and device of the distributed-type lock achieve efficient and accurate control over the distributed-type lock.

Description

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

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
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products