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

Distributed lock realization method, device and electronic equipment

A technology of distributed locks and implementation methods, applied in the distributed field, can solve the performance, occupation, impact and other problems of large network resources, and achieve the effect of reducing network interaction and improving system performance.

Active Publication Date: 2021-02-19
成都新希望金融信息有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method not only takes up a lot of network resources but also affects the performance of both parties

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
  • Distributed lock realization method, device and electronic equipment
  • Distributed lock realization method, device and electronic equipment
  • Distributed lock realization method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0053] Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art w...

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

This application provides a distributed lock implementation method, device, and electronic equipment. On the basis of obtaining global locks and internal locks, application terminals can monitor whether there are other application terminals in the current distributed system to cache servers when releasing locks. A lock request has been sent, that is, whether there is global competition. If so, release the global lock corresponding to itself and the internal locks corresponding to each thread contained in itself, and set the global lock to an unlocked state, and delete the lock in progress The lock node created when locking. If it does not exist, the global lock corresponding to itself is reserved and the internal locks corresponding to each thread contained in itself are released. In this way, in the absence of global competition, the global lock can be reserved only to lock or release the internal lock, which can reduce the network interaction between the application terminal and the cache server, and improve system performance.

Description

technical field [0001] The present application relates to the field of distributed technology, in particular, to a distributed lock implementation method, device and electronic equipment. Background technique [0002] With the continuous development of the business, in the traditional stand-alone business system, the throughput of the service can be improved by continuously increasing threads, and various locking mechanisms can be implemented in the stand-alone environment to ensure thread safety. However, there are natural defects in the stand-alone system. The capability of a stand-alone system cannot be infinitely improved, and at the same time, a stand-alone system cannot guarantee high availability of services. Therefore, the emergence of distributed systems has made up for the shortcomings of stand-alone business, but it has also brought new problems. One of the biggest problems is the thread safety problem in distributed environments, so distributed locks are introduc...

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/52
CPCG06F9/524
Inventor 陈佛林高斌
Owner 成都新希望金融信息有限公司