Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Critical resource management method and device in cloud storage system

A cloud storage system and critical resource technology, which is applied in the field of critical resource management, can solve problems such as unstable system performance, system performance jitter, and complex implementation, and achieve the effects of shortening application time, reducing delay, and improving stability

Inactive Publication Date: 2015-06-10
HANGZHOU HIKVISION SYST TECH
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For each process (locking process) that applies to occupy a critical resource, a corresponding notification interface needs to be set. When a critical resource is released (unlocked), all processes that apply to occupy the critical resource need to be notified through the notification interface , so that these processes select a process to occupy the critical resource through competition, etc.; it is more complicated in terms of implementation;
[0005] In addition, for each critical resource, a corresponding waiting queue will be set up, and each process that applies for occupying the critical resource will be added to the waiting queue for waiting. In this way, when the critical resource is released, the waiting queue All processes will be awakened to seize this critical resource, and only one of them will succeed in preempting, and the rest will continue to wait. Usually, the phenomenon of a large number of processes being awakened at the same time to seize resources is called the shocking group phenomenon. The appearance of the shocking group phenomenon will cause system The performance fluctuates sharply, which leads to extremely unstable system performance

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
  • Critical resource management method and device in cloud storage system
  • Critical resource management method and device in cloud storage system
  • Critical resource management method and device in cloud storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Aiming at the problems existing in the prior art, the present invention proposes a lock-free critical resource management solution in a cloud storage system, which can reduce implementation complexity and improve system performance stability.

[0019] In order to make the technical solution of the present invention more clear and understandable, the solution of the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0020] figure 1 It is a flowchart of an embodiment of a critical resource management method in a cloud storage system of the present invention. like figure 1 As shown, the following steps 11-12 are included.

[0021] Step 11: When any process x needs to apply for occupying any critical resource y, establish a session connection with the management node, and send a request to the management node to occupy the critical resource y after the establishment is successful.

[0022] It should be ...

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 critical resource management method and a critical resource management device in a cloud storage system. The critical resource management method comprises the following steps: when a process x needs to apply to occupy a critical resource y, establishing a session connection with a managed node; after successful establishment, initiating a request of occupying the critical resource y to the managed node; utilizing a predetermined value to replace the value on the flag bit corresponding to the stored critical resource y by the managed node; if the replaced value is identical with the predetermined value, then determining that the critical resource y is occupied and the application fails, and notifying the process x; or, determining that the critical resource y is not occupied and the application is successful, and notifying the process x. With adoption of the scheme, the implementation complexity can be reduced, and the stability of the system performance can be improved.

Description

technical field [0001] The invention relates to storage technology, in particular to a critical resource management method and device in a cloud storage system. Background technique [0002] In cloud storage systems, applications for critical resources are generally done through distributed locks, which evolve from stand-alone locks. The cloud storage system refers to a system that integrates a large number of storage devices in the network through application software to work together through cluster applications, network technology, and distributed file systems to jointly provide data storage and business access functions. [0003] However, the above method has certain problems in practical application, such as: [0004] For each process (locking process) that applies to occupy a critical resource, a corresponding notification interface needs to be set. When a critical resource is released (unlocked), all processes that apply to occupy the critical resource need to be not...

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 Applications(China)
IPC IPC(8): G06F9/46H04L29/08
Inventor 陈翟翟闫春汪渭春
Owner HANGZHOU HIKVISION SYST TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products