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

Asymmetric distributed lock system for asymmetric business scene and implementation method

A technology of distributed locks and business scenarios, applied in the field of distributed locks, can solve problems such as huge response delay and performance loss, and achieve the effect of improving performance, wide application range and simple implementation method.

Active Publication Date: 2021-08-13
北京易鲸捷信息技术有限公司
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] One of the purposes of the present invention is to provide an asymmetric distributed lock system and implementation method for asymmetric business scenarios in order to solve the problem of symmetric distributed locks in the prior art in asymmetric application scenarios. Technical issues such as huge response delays and performance loss

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
  • Asymmetric distributed lock system for asymmetric business scene and implementation method
  • Asymmetric distributed lock system for asymmetric business scene and implementation method
  • Asymmetric distributed lock system for asymmetric business scene and implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026]The distributed lock provided by the present invention is designed and implemented based on asymmetric business scenarios, so the distributed lock in this solution is designed and implemented for different types of lock operations (shared locks and exclusive locks) are also asymmetrical of. Since the use of shared locks in distributed systems is much greater than that of exclusive locks in most business scenarios, the descriptions of the following embodiments all use this business scenario as a reference, but the technical solution of the present invention is not limited to this use The method is also applicable to business scenarios that emphasize exclusive locks or other similar asymmetric distributed locks. It is only necessary to exchange the design and implementation methods of exclusive locks and shared locks described in the following embodiments. Or choose the corresponding design and implementation method according to the emphasis on distributed locks in actual ...

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 an asymmetric distributed lock system for an asymmetric business scene and an implementation method, and belongs to a distributed lock application design, the system comprises a service node, the service node comprises a distributed lock manager, and the distributed lock manager is accessed to a local lock manager; the local lock manager is used for maintaining a local lock queue and a network lock queue; and the distributed lock manager receives the lock operation request sent by the client and executes subsequent operation according to the type of the lock operation request. A shared lock and an exclusive lock are designed to be local and network locks, so that the lock with more operation times can be designed to be the local lock and the other lock can be designed to be the network lock according to different asymmetric service scenes, the two locks have different locking modes, network communication is completely avoided by locking of the local lock, therefore, the performance of a shared lock or exclusive lock serving as a local lock can be greatly improved.

Description

technical field [0001] The present invention relates to a distributed lock, and more specifically, the present invention mainly relates to an asymmetric distributed lock system and an implementation method for asymmetric business scenarios. Background technique [0002] Distributed lock is a very important technology in the distributed field. It is used to serialize the modification and access of multiple nodes to the same resource in a distributed environment, so as to ensure the consistency of the resource. There are two main types of existing distributed lock implementation technologies, one is centralized, this method is based on a centralized lock service node to realize the distributed lock function, this implementation requires all distributed The lock operation request is sent to a given lock service node for processing, and then the result of the lock operation is returned to the corresponding request node. The advantage of this implementation is that it is simple ...

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/52
CPCG06F9/52G06F9/524
Inventor 何振兴李清灶吴邦坤顾海燕王效忠
Owner 北京易鲸捷信息技术有限公司