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

Resource allocation method and device

A resource allocation and resource technology, applied in the network field, can solve problems such as low system concurrency performance and increased database query pressure.

Active Publication Date: 2018-06-01
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Through the above method, the use of optimistic locking can improve the situation of repeated allocation of resources, but for each request, the data needs to be fetched from the database again, which increases the query pressure of the database and leads to low concurrency performance of the system

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 allocation method and device
  • Resource allocation method and device
  • Resource allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] 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.

[0080] In order to reduce the query pressure of the database and improve the concurrent performance of the system, the embodiment of the present invention provides a resource allocation method and device.

[0081] A resource allocation method provided by an embodiment of the present invention is firstly introduced below.

[0082] It should be noted that the resource allocation method provided by the embodiment of the present invention can be applied in a resource a...

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 allocation method and device. The resource allocation method comprises the following steps: receiving a resource request sent by a client; taking out target resource data from a preset cache, wherein the operation of the preset cache has the atomicity, and the preset cache stores resource data read in advance from a database; and returning the target resource data to the client. Through the resource allocation method and device, the query pressure of the database can be reduced, and the concurrency performance of the system can be improved.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a resource allocation method and device. Background technique [0002] Many application systems, especially resource management systems, will initialize some public relations resources for allocation to each user. For example, the public cloud platform provides functions and services for purchasing elastic public IP (Internet Protocol, Internet Protocol) addresses. Among them, a An IP address can only be allocated to one user. When multiple users request to purchase an elastic public network IP address at the same time, it is very easy to have duplicate IP address allocation, that is, the problem of repeated allocation of resources under high concurrency. [0003] At present, optimistic locking is mainly used, based on the data version (Version) recording mechanism, to prevent repeated allocation of resources under high concurrency. Specifically, in the solution based o...

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): H04L12/24H04L29/08
CPCH04L41/0896H04L67/568H04L67/60
Inventor 罗钧贾涛胡伟
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
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