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

Resource acquisition and allocation method and device and computer readable storage medium

A resource allocation device and a technology for an acquisition method, which are applied in the fields of computer-readable storage media, resource acquisition and allocation, can solve the performance bottleneck of a centralized system, the operation results do not follow the expected results, and the centralized system cannot meet the high concurrency of complex services. Business scenarios and other issues to achieve the effect of orderly access and preventing dirty data

Pending Publication Date: 2020-05-15
深圳市中农易讯信息技术有限公司
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of Internet technology, the centralized system cannot meet the business scenarios of complex business and high concurrency, and then evolves to the distributed system to solve the system scalability, maintainability and performance bottleneck problems of the centralized system
However, distributed systems also bring a certain degree of complexity.
In a distributed system, due to the fact that an application is published by multiple nodes, when multiple requests perform concurrent operations on stateful data, that is, critical resources, there may be errors in which the operation results do not follow the expected results, that is, there are dirty data

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
  • Resource acquisition and allocation method and device and computer readable storage medium
  • Resource acquisition and allocation method and device and computer readable storage medium
  • Resource acquisition and allocation method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0028] In a distributed system, due to the fact that an application is published by multiple nodes, when multiple requests perform concurrent operations on stateful data, that is, critical resources, there may be errors in which the operation results do not follow the expected results, that is, there are dirty data.

[0029] In this embodiment, in order to solve the above problems, a resource acquisition method is provided, which can realize orderly access of critic...

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 embodiment of the invention discloses a resource acquisition method which is applied to a distributed system. The method comprises the following of generating a resource application according to aservice to be executed, and sending the resource application to a distributed lock; judging whether a distributed lock is acquired or not, and if the distributed lock is not acquired, monitoring thedistributed lock; and when monitoring that the distributed lock is released by the application node of the acquired distributed lock, sending the resource application to the distributed lock again. The invention further provides a resource allocation method, a resource acquisition and allocation device and a computer readable storage medium. According to the invention, orderly access to critical resources can be realized, and the consequence of dirty data is prevented.

Description

technical field [0001] The present invention relates to the technical field of distributed systems, in particular to a resource acquisition and allocation method, device and computer-readable storage medium. Background technique [0002] With the development of Internet technology, the centralized system cannot meet the business scenarios of complex business and high concurrency, and then evolves to the distributed system to solve the system scalability, maintainability and performance bottleneck problems of the centralized system. However, distributed systems also bring a certain degree of complexity. In a distributed system, due to the fact that an application is published by multiple nodes, when multiple requests perform concurrent operations on stateful data, that is, critical resources, there may be errors in which the operation results do not follow the expected results, that is, there are dirty data. Contents of the invention [0003] Based on this, it is necessary...

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): H04L29/08H04L29/06G06F16/23G06F9/50G06F9/38
CPCH04L67/10H04L63/10G06F9/3869G06F9/5022G06F16/2343H04L67/60
Inventor 肖喜群孙炜
Owner 深圳市中农易讯信息技术有限公司
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