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

Zookeeper-based resource access method and system, medium and electronic equipment

A resource access and target resource technology, applied in the field of system, media and electronic equipment, zookeeper-based resource access methods, can solve problems affecting Zookeeper performance, large storage space, occupation, etc.

Pending Publication Date: 2019-11-19
CHINA PING AN LIFE INSURANCE CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the technical problem that the persistent nodes existing in related technologies are still stored in the zookeeper cluster, resulting in large storage space and thus affecting the performance of Zookeeper, the present invention provides a zookeeper-based resource access method, system, medium and Electronic equipment

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 resource access method and system, medium and electronic equipment
  • Zookeeper-based resource access method and system, medium and electronic equipment
  • Zookeeper-based resource access method and system, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0056] figure 1 is a schematic diagram of a device according to an exemplary embodiment. The apparatus 100 may be an electronic device. Such as figure 1 As shown, apparatus 100 may include one or more of the following components: processing component 102 , memory 104 , power component 106 , multimedia component 108 , audio component 110 , sensor component 114 , and communication component 116 .

...

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 zookeeper-based resource access method, a system, a medium and electronic equipment. The method comprises the steps of obtaining a preset target access path of a target resource when an obtaining request of a target client for the target resource is received; searching whether a target access path has a target node or not in a zookeeper cluster; if the target node exists,creating a target temporary sub-node under the target node, and writing the feature data of the target client into the target temporary sub-node to determine that the target client acquires a node lock; and returning the node lock to the target client. According to the method, the occupation of the storage space can be reduced, so that the influence of resource access on the performance of the zookeeper is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a zookeeper-based resource access method, system, medium and electronic equipment. Background technique [0002] In a distributed environment, since each node can access the shared resources in the distributed system through the computer network, in order to ensure the security of resource access in the distributed system and avoid the destruction of data consistency, the control In a distributed system, each node accesses the distributed lock of the same resource. It can be seen that through distributed locks, shared resources across processes, hosts, and networks can be protected, mutual exclusion access is achieved, and data consistency is guaranteed. [0003] At present, common ways to implement distributed locks can be based on database or zookeeper. Among them, zookeeper is a centralized service system that provides configuration management, distributed collaboration, a...

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/08
CPCH04L67/568
Inventor 贺会钦
Owner CHINA PING AN LIFE INSURANCE CO LTD