ZooKeeper-based distributed lock service implementation method, device and equipment, and storage medium

A technology of distributed locks and implementation methods, applied in transmission systems, electrical components, etc., can solve problems such as troublesome reference processing, many abnormal situations in zookeeper, and inability to automatically release locks, etc., to achieve ease of use, save server resources, and data security. Guaranteed effect

Pending Publication Date: 2020-01-10
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Data security and data isolation issues;
[0005] 2. There are many abnormal situations in zookeeper, and manual judgment is required to deal with various situations;
[0006] 3. There is no d

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
  • ZooKeeper-based distributed lock service implementation method, device and equipment, and storage medium
  • ZooKeeper-based distributed lock service implementation method, device and equipment, and storage medium
  • ZooKeeper-based distributed lock service implementation method, device and equipment, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0045] The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for ease of description, the drawings only show a part but not all of the structure related to the present invention.

[0046] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the steps are described as sequential processing in the flowchart, many of the steps can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the steps may be rearranged, and the process may be terminated when the operation is completed, but there may also be other steps not included in the drawings. Processing can correspond to met...

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 relates to a ZooKeeper-based distributed lock service implementation method, device and equipment and a storage medium, and the method comprises the steps: configuring a distributed lockservice based on a zookeeper, and enabling the distributed lock service to provide an API interface of a distributed lock; when the system accessed through the API interface is detected, creating anindependent system node for the system; configuring a corresponding authority control strategy for each independent system node; and enabling the independent system node to acquire a lock from a lockworkshop of the distributed lock service. The method has the beneficial effects that repeated calling of production data can be effectively controlled under the condition of high concurrency, the advantages of a distributed server can be fully applied through a distributed lock under the condition of multiple instances and multiple tasks, multi-instance task sharing is achieved, tasks are exclusively occupied by a single server of multiple instances, and server resources are saved; and on the other hand, the data security can be ensured, and meanwhile, the internal framework and the environment of the system platform are accessed and integrated, so that the system is easy to use.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of financial data processing, and in particular to a ZooKeeper-based distributed lock service implementation method, device, device, and storage medium. Background technique [0002] Zookeeper is a distributed, open source distributed application coordination service. It is an open source implementation of Google's Chubby. It is an important component of Hadoop and Hbase. Its functions include: configuration maintenance, name service, and distributed synchronization. , group services, etc. The goal of zookeeper is to encapsulate complex and error-prone key services, and provide users with simple and easy-to-use interfaces and systems with high performance and stable functions. Zookeeper generally elects a leader, which is responsible for initiating various system tasks and controlling distributed lock scheduling. [0003] Currently on the market, the Apache Curator framework encap...

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/08H04L29/06
CPCH04L67/1004H04L67/1031H04L63/10H04L63/20H04L67/51H04L67/133
Inventor 陈果陈聪
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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