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

Allocation method and device for resource pool

An allocation method and resource allocation technology, applied in network traffic/resource management, digital transmission systems, data exchange networks, etc., can solve problems such as idle resources, decreased overall utilization of resource pools, and fierce resource competition, etc., to improve resource utilization rate effect

Active Publication Date: 2012-10-31
阿里巴巴(中国)网络技术有限公司
View PDF3 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor found in the research that because the resource pool is logically split into several sub-resource pools, and different businesses use different sub-resource pools, sometimes there will be fierce competition for resources in some sub-resource pools, while at the same time , the resources in other sub-resource pools are idle for a long time, resulting in a decrease in the overall utilization of the resource pool

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
  • Allocation method and device for resource pool
  • Allocation method and device for resource pool
  • Allocation method and device for resource pool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] See figure 2 , Which is a flowchart of an embodiment of a resource pool allocation method of this application, including the following steps:

[0021] Step 201: Obtain the current business request;

[0022] In the technical solution of the present application, the current service request can originate from the application or the message queue. No matter where it comes from, the resource pool allocation method of this application is used to allocate resources to the current service request. Among them, if it comes from an application, the resource allocation request message sent by the application to the total resource pool indicates one or more service requests; if it comes from a message queue, the events waiting in the message queue indicate one or more service requests .

[0023] Therefore, the obtaining the current service request includes: receiving a resource allocation request message sent by the application, where the resource allocation request message contains the...

Embodiment 2

[0054] The following describes the allocation method of the total resource pool in detail in conjunction with the allocation scenario of the total resource pool. See image 3 , Which is a schematic diagram of a method for allocating resource pools for service requests in this application, including the following steps:

[0055] Step 301: The application sends a resource allocation request message to the total resource pool;

[0056] Among them, in the technical solution of the present application, the total resource pool is not logically split into sub-resource pools, and the application sends a resource allocation request message to the total resource pool. The resource allocation request message contains the identifier of the service request.

[0057] Step 302: The total resource pool allocates resources for the service request indicated by the resource allocation request message according to the type of the service request in the resource allocation request message;

[0058] Among...

Embodiment 3

[0075] Corresponding to a resource pool allocation method, an embodiment of the present application also provides a resource pool allocation device. See Figure 4 , Which is a structural diagram of an embodiment of a resource pool allocation device of this application. The device includes: an acquisition module 401, a judgment module 402, and an allocation module 403.

[0076] The obtaining module 401 is used to obtain the current business request;

[0077] The judging module 402 is configured to judge the type of the current service request, wherein the allocation type of each service request is pre-designated, and the allocation type includes a reserved type, a default type or a maximum limit type;

[0078] The allocation module 403 is configured to, if the judgment result of the judgment module is the reservation type, allocate the required number of resources for the current service request from the public resources and / or private resources of the total resource pool, if it is t...

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 application discloses an allocation method and device for a resource pool, wherein the allocation method comprises the following steps: acquiring a current business request; judging the allocation type of the current business request; if the allocation type is reserved type, allocating the required quantity of resources for the current business request from public resources and / or private resources of the total resource pool; if the allocation type is default type, allocating the required quantity of resources for the current business request from the public resources of the total resource pool; and if the allocation type is maximum limit type, allocating the resources which do not exceed the maximum threshold quantity for the current business request from the public resources of the total resource pool. According to the embodiment of the application, the utilization rate of the resource pool can be improved.

Description

Technical field [0001] This application relates to the field of computer technology, in particular to a resource pool allocation method and device. Background technique [0002] At present, resource pool technology has been introduced in many system designs, such as thread pool or database connection pool. By caching resources in the resource pool, not only can resources be allocated quickly, but also the size of the resource pool can be limited to ensure that the overall resources of the system do not exceed the load capacity. [0003] Such as figure 1 A flowchart of a method for allocating resource pools for various business requests in the prior art. Further, the resource pool is logically split, and a certain size sub-resource pool is allocated for each type of business request. For example, when sub-resource pool 1 is allocated for a type A service request, the application sends a request for resource allocation to sub-resource pool 1 for service request 1 of type A. If sub-...

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): H04L12/56H04W28/26H04W72/04
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