CN103713955A - Method and device for managing resource dynamic allocation - Google Patents

Method and device for managing resource dynamic allocation Download PDF

Info

Publication number
CN103713955A
CN103713955A CN201310752071.2A CN201310752071A CN103713955A CN 103713955 A CN103713955 A CN 103713955A CN 201310752071 A CN201310752071 A CN 201310752071A CN 103713955 A CN103713955 A CN 103713955A
Authority
CN
China
Prior art keywords
resource
business operation
sendout
different time
time sections
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310752071.2A
Other languages
Chinese (zh)
Other versions
CN103713955B (en
Inventor
马玉国
李亦民
张平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baotou City Cloud Computing Technology Co ltd
Original Assignee
SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd filed Critical SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd
Priority to CN201310752071.2A priority Critical patent/CN103713955B/en
Publication of CN103713955A publication Critical patent/CN103713955A/en
Application granted granted Critical
Publication of CN103713955B publication Critical patent/CN103713955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and device for managing resource dynamic allocation. The method for managing the resource dynamic allocation comprises the steps of analyzing a service operation to be executed, determining the resource quantity needed by the service operation in different time frames, generating resource telescopic allocation information according to the determined resource quantity needed by the service operation in the different time frames, and allocating corresponding resources to the service operation executed in the different time frames according to the resource telescopic allocation information. According to the method, the service operation to be executed is analyzed in advance, the resource quantity needed by the service operation in the different time frames is determined, then the resource telescopic allocation information is generated according to the determined resource quantity, the corresponding resources are allocated to the service operation executed in the different time frames according to the resource telescopic allocation information, therefore, the aim of adopting different telescopic strategies to conduct resource dynamic allocation in the different time frames is achieved, the use efficiency of a resource pool is effectively improved, and the resource pool has more elasticity.

Description

Management method and device that resource dynamic is distributed
Technical field
The present invention relates to computer realm, specifically, relate to management method and device that a kind of resource dynamic is distributed.
Background technology
At present, existing Paas(Platform-as-a-Service, platform serves) the platform automatic telescopic in support resource pond (being automatic application and the release of resource) strategy substantially all.Existing automatic telescopic strategy has two kinds, and a kind of is to adopt the flexible value of definite value to realize the automatic telescopic of resource, and another kind is to adopt the expansion and contraction of setting to realize the automatic telescopic of resource.
Yet, when practical application, no matter be the first automatic telescopic strategy, or the second automatic telescopic strategy, all exist weak point, for example, expanding-contracting action underaction.It is convenient not to use, and when user is familiar with not to system, the value of setting exists excessive or too small situation, and then has affected the service efficiency of resource pool.
For the problems referred to above in correlation technique, effective solution is not yet proposed at present.
Summary of the invention
For the problems referred to above in correlation technique, the present invention proposes management method and the device that a kind of resource dynamic is distributed, can realize in the different time periods, adopt different flexible strategies to carry out the dynamic assignment of resource, thereby effectively raise the service efficiency of resource pool, the resource pool making has more elasticity.
Technical scheme of the present invention is achieved in that
According to an aspect of the present invention, the management method that provides a kind of resource dynamic to distribute.
The management method that this resource dynamic is distributed comprises:
The business operation that will carry out is analyzed, determined that this business operation is in the required stock number of different time sections;
According to the business operation of determining, in the required stock number of different time sections, generate resource telescopic arrangement information;
According to resource telescopic arrangement information, for different time sections, carry out business operation and distribute corresponding resource.
Wherein, the business operation of determining in basis is in the required stock number of different time sections, while generating resource telescopic arrangement information, can be by the business operation of determining in the required stock number of different time sections, as carry out the default resource sendout of business operation in the corresponding time period; And according to the difference relation between the default resource sendout of different time sections, generate resource telescopic arrangement information.
In addition the management method that, this resource dynamic is distributed also comprises: in advance for the different time sections of business operation configures a plurality of resource backup sendouts, wherein, resource backup sendout is greater than default resource sendout.
In addition, the management method that this resource dynamic is distributed also comprises: when carrying out business operation, detect in real time business operation at the required real resource of different time sections.
In addition the management method that, this resource dynamic is distributed also comprises: according to business operation, at required real resource of each time period, judge whether the default resource sendout of this time period meets real resource; In the situation that the determination result is NO, using the resource backup sendout that meets real resource in this time period as current resource sendout, and be the business operation Resources allocation in this time period according to this resource sendout.
According to a further aspect in the invention, the management devices that provides a kind of resource dynamic to distribute.
The management devices that this resource dynamic is distributed comprises:
Analysis module, for the business operation that will carry out is analyzed, determines that this business operation is in the required stock number of different time sections;
Generation module, the business operation of determining for basis, in the required stock number of different time sections, generates resource telescopic arrangement information;
Execution module, for according to resource telescopic arrangement information, carries out business operation for different time sections and distributes corresponding resource.
Wherein, generation module comprises: the first configuration module, for by the business operation of determining in the required stock number of different time sections, as carry out the default resource sendout of business operation in the corresponding time period; Information generating module, for according to the difference relation between the default resource sendout of different time sections, generates resource telescopic arrangement information.
In addition the management devices that, this resource dynamic is distributed also comprises: the second configuration module, in advance, for the different time sections of business operation configures a plurality of resource backup sendouts, wherein, resource backup sendout is greater than default resource sendout.
In addition, the management devices that this resource dynamic is distributed also comprises: real-time detection module, for when carrying out business operation, detects business operation in real time at the required real resource of different time sections.
In addition the management devices that, this resource dynamic is distributed also comprises: judge module, for according to required real resource of each time period, judges whether the default resource sendout of this time period meets real resource; The 3rd configuration module, in the situation that the determination result is NO, using the resource backup sendout that meets real resource in this time period as current resource sendout, and is the business operation Resources allocation in this time period according to this resource sendout.
The present invention is by analyzing the business operation that will carry out in advance, determine that this business operation is in the required stock number of different time sections, then, according to this stock number, generate resource telescopic arrangement information, and according to this resource telescopic arrangement information, for different time, carry out business operation and distribute corresponding resource, thereby realized in the different time periods, adopt different flexible strategies to carry out the dynamic assignment of resource, and then effectively raise the service efficiency of resource pool, make resource pool have more elasticity.
In addition, the present invention is also by configuring a plurality of resource backup sendouts for different time sections, and detect in real time business operation at the required real resource of different time sections simultaneously, when default resource sendout does not meet required real resource, using the resource backup sendout that meets required real resource in a plurality of resource backup sendouts as current resource sendout, and distribute corresponding resource according to this resource sendout for the business operation in this time period, thereby realized the resource actual required according to business operation, dynamic adjustresources sendout, to meet actual demand, and then avoided the excessive or too small problem of resource sendout of setting to occur.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is according to the schematic flow sheet of the management method of the resource dynamic distribution of the embodiment of the present invention;
Fig. 2 is according to the structural representation of the management devices of the resource dynamic distribution of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, belongs to the scope of protection of the invention.
According to embodiments of the invention, the management method that provides a kind of resource dynamic to distribute.
The management method of distributing according to the resource dynamic of the embodiment of the present invention as shown in Figure 1, comprises:
Step S101, analyzes the business operation that will carry out, determines that this business operation is in the required stock number of different time sections;
Step S103, in the required stock number of different time sections, generates resource telescopic arrangement information according to the business operation of determining;
Step S105, according to resource telescopic arrangement information, carries out business operation for different time sections and distributes corresponding resource.
Wherein, the business operation of determining in basis is in the required stock number of different time sections, while generating resource telescopic arrangement information, can be by the business operation of determining in the required stock number of different time sections, as carry out the default resource sendout of business operation in the corresponding time period; And according to the difference relation between the default resource sendout of different time sections, generate resource telescopic arrangement information.
In addition the management method that, this resource dynamic is distributed also comprises: in advance for the different time sections of business operation configures a plurality of resource backup sendouts, wherein, resource backup sendout is greater than default resource sendout.
In addition, the management method that this resource dynamic is distributed also comprises: when carrying out business operation, detect in real time business operation at the required real resource of different time sections.
In addition the management method that, this resource dynamic is distributed also comprises: according to business operation, at required real resource of each time period, judge whether the default resource sendout of this time period meets real resource; In the situation that the determination result is NO, using the resource backup sendout that meets real resource in this time period as current resource sendout, and be the business operation Resources allocation in this time period according to this resource sendout.
According to embodiments of the invention, the management devices that also provides a kind of resource dynamic to distribute.
As shown in Figure 2, the management devices distributing according to the resource dynamic of the embodiment of the present invention comprises:
Analysis module 21, for the business operation that will carry out is analyzed, determines that this business operation is in the required stock number of different time sections;
Generation module 22, the business operation of determining for basis, in the required stock number of different time sections, generates resource telescopic arrangement information;
Execution module 23, for according to resource telescopic arrangement information, carries out business operation for different time sections and distributes corresponding resource.
Wherein, generation module 22 comprises: the first configuration module (not shown), for by the business operation of determining in the required stock number of different time sections, as carry out the default resource sendout of business operation in the corresponding time period; Information generating module (not shown), for according to the difference relation between the default resource sendout of different time sections, generates resource telescopic arrangement information.
In addition the management devices that, this resource dynamic is distributed also comprises: the second configuration module (not shown), in advance, for the different time sections of business operation configures a plurality of resource backup sendouts, wherein, resource backup sendout is greater than default resource sendout.
In addition, the management devices that this resource dynamic is distributed also comprises: real-time detection module (not shown), for when carrying out business operation, detects business operation in real time at the required real resource of different time sections.
In addition the management devices that, this resource dynamic is distributed also comprises: judge module (not shown), for according to required real resource of each time period, judges whether the default resource sendout of this time period meets real resource; The 3rd configuration module (not shown), for in the situation that the determination result is NO, using the resource backup sendout that meets real resource in this time period as current resource sendout, and be the business operation Resources allocation in this time period according to this resource sendout.
For convenient, understand technique scheme of the present invention, below from the angle of know-why, technique scheme of the present invention is described.
When practical application, practice shows, for a resource pool, the use of resource pool can not be generally a linear process, but beginning the comparison of the growth is fast, after certain use amount, increase and start to slow down, state is used in one of last basic maintenance more stably.Therefore, to the flexible strategy of resource pool, can set a reference curve, the X-axis of setting curve is duration, 12 months, general location, Y-axis is defined as the flexible ratio of resource pool, and resource pool will be used different flexible strategies in the different periods like this, this will improve the service efficiency of resource pool greatly, and the resource pool making is more flexible.And when predicted data is changed, flexible service can be used new parameter to stretch.
When practical application, technique scheme of the present invention can realize by following steps, specific as follows:
1) tables of data of definition, the predicted data of preserving resource pool expansion and contraction, for example:
Table(Id,PolicyId,MonthKey,Value),
Wherein, the data of table comprise tactful ID, month, expansion and contraction value.
2) class of definition, is used for reading resource pool expansion and contraction data, for example,
Figure BDA0000451342820000061
3) a resource pool class of definition, is used for preserving resource pool resource example.
4) monitoring class of definition, is used for monitoring resource pool state, and reads the expansion and contraction of current resource pool.When the change of resource pool instance number, can monitor the flexible ratio that class reads current generation setting by this, according to predefined flexible curve, read corresponding flexible value, the operation of stretching.
As can be seen here, by means of technique scheme of the present invention, by in advance the business operation that will carry out being analyzed, determine that this business operation is in the required stock number of different time sections, then, according to this stock number, generate resource telescopic arrangement information, and according to this resource telescopic arrangement information, for different time, carry out business operation and distribute corresponding resource, thereby can realize in the different time periods, adopt different flexible strategies to carry out the dynamic assignment of resource, and then effectively raise the service efficiency of resource pool, make resource pool have more elasticity.
In addition, by means of technique scheme of the present invention, by configure a plurality of resource backup sendouts for different time sections, and detect in real time business operation at the required real resource of different time sections simultaneously, when default resource sendout does not meet required real resource, using the resource backup sendout that meets required real resource in a plurality of resource backup sendouts as current resource sendout, and distribute corresponding resource according to this resource sendout for the business operation in this time period, thereby can realize the resource actual required according to business operation, dynamic adjustresources sendout, to meet actual demand, and then avoided the excessive or too small problem of resource sendout of setting to occur.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the management method that resource dynamic is distributed, is characterized in that, comprising:
The business operation that will carry out is analyzed, determined that this business operation is in the required stock number of different time sections;
According to the described business operation of determining, in the required stock number of different time sections, generate resource telescopic arrangement information;
According to described resource telescopic arrangement information, for different time sections, carry out described business operation and distribute corresponding resource.
2. management method according to claim 1, is characterized in that, according to the described business operation of determining, in the required stock number of different time sections, generates resource telescopic arrangement information and comprises:
The described business operation of determining, in the required stock number of different time sections, is carried out to the default resource sendout of described business operation as this correspondence time period;
And, according to the difference relation between the described default resource sendout of different time sections, generate resource telescopic arrangement information.
3. management method according to claim 2, is characterized in that, further comprises:
For the different time sections of business operation configures a plurality of resource backup sendouts, wherein, described resource backup sendout is greater than described default resource sendout in advance.
4. management method according to claim 3, is characterized in that, further comprises:
When carrying out described business operation, detect in real time described business operation at the required real resource of different time sections.
5. management method according to claim 4, is characterized in that, further comprises:
According to described business operation, at required real resource of each time period, judge whether the described default resource sendout of this time period meets described real resource;
In the situation that the determination result is NO, using the resource backup sendout that meets described real resource in this time period as current resource sendout, and be the described business operation Resources allocation in this time period according to this resource sendout.
6. the management devices that resource dynamic is distributed, is characterized in that, comprising:
Analysis module, for the business operation that will carry out is analyzed, determines that this business operation is in the required stock number of different time sections;
Generation module, the described business operation of determining for basis, in the required stock number of different time sections, generates resource telescopic arrangement information;
Execution module, for according to described resource telescopic arrangement information, carries out described business operation for different time sections and distributes corresponding resource.
7. management devices according to claim 6, is characterized in that, described generation module comprises:
The first configuration module, for by the described business operation of determining in the required stock number of different time sections, as carry out the default resource sendout of described business operation in the corresponding time period;
Information generating module, for according to the difference relation between the described default resource sendout of different time sections, generates resource telescopic arrangement information.
8. management devices according to claim 7, is characterized in that, further comprises:
The second configuration module, in advance, for the different time sections of business operation configures a plurality of resource backup sendouts, wherein, described resource backup sendout is greater than described default resource sendout.
9. management devices according to claim 8, is characterized in that, further comprises:
Detection module, for when carrying out described business operation, detects described business operation in real time at the required real resource of different time sections in real time.
10. management devices according to claim 9, is characterized in that, further comprises:
Judge module, for according to described business operation at required real resource of each time period, judge whether the described default resource sendout of this time period meets described real resource;
The 3rd configuration module, in the situation that the determination result is NO, using the resource backup sendout that meets described real resource in this time period as current resource sendout, and is the described business operation Resources allocation in this time period according to this resource sendout.
CN201310752071.2A 2013-12-31 2013-12-31 Method and device for managing resource dynamic allocation Active CN103713955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310752071.2A CN103713955B (en) 2013-12-31 2013-12-31 Method and device for managing resource dynamic allocation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310752071.2A CN103713955B (en) 2013-12-31 2013-12-31 Method and device for managing resource dynamic allocation

Publications (2)

Publication Number Publication Date
CN103713955A true CN103713955A (en) 2014-04-09
CN103713955B CN103713955B (en) 2017-02-15

Family

ID=50406957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310752071.2A Active CN103713955B (en) 2013-12-31 2013-12-31 Method and device for managing resource dynamic allocation

Country Status (1)

Country Link
CN (1) CN103713955B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244436A (en) * 2014-09-29 2014-12-24 中国联合网络通信集团有限公司 Method and device for adjusting network equipment
CN104301257A (en) * 2014-09-17 2015-01-21 华为技术有限公司 Resource distribution method, device and equipment
CN105653370A (en) * 2015-12-29 2016-06-08 中国银联股份有限公司 System and method for obtaining virtual machine resources on PaaS platform
CN108307438A (en) * 2017-01-13 2018-07-20 华为技术有限公司 Data transmission method for uplink, data receiver method, terminal device and the network equipment
WO2019011262A1 (en) * 2017-07-14 2019-01-17 华为技术有限公司 Method and apparatus for resource allocation
CN109361750A (en) * 2018-10-24 2019-02-19 上海精数信息科技有限公司 Resource allocation methods, device, electronic equipment, storage medium
CN111767140A (en) * 2020-06-19 2020-10-13 四川九洲电器集团有限责任公司 Resource allocation method, system, medium and equipment of cloud computing system
CN113923229A (en) * 2021-10-14 2022-01-11 京东科技信息技术有限公司 Elastic scheduling method and device for cloud computing resources and related equipment
WO2023151268A1 (en) * 2022-02-14 2023-08-17 华为云计算技术有限公司 Service distribution method, apparatus and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8104039B2 (en) * 2006-08-07 2012-01-24 International Business Machines Corporation Method for balancing resource sharing and application latency within a data processing system
US8301772B2 (en) * 2007-03-27 2012-10-30 Symantec Corporation Method and apparatus for allocating resources among backup tasks in a data backup system
EP2391961B1 (en) * 2009-01-30 2016-10-05 Hewlett-Packard Enterprise Development LP System and method for integrating capacity planning and workload management

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301257A (en) * 2014-09-17 2015-01-21 华为技术有限公司 Resource distribution method, device and equipment
CN104301257B (en) * 2014-09-17 2018-01-02 华为技术有限公司 A kind of resource allocation methods, device and equipment
CN104244436A (en) * 2014-09-29 2014-12-24 中国联合网络通信集团有限公司 Method and device for adjusting network equipment
CN104244436B (en) * 2014-09-29 2018-09-18 中国联合网络通信集团有限公司 A kind of method of adjustment and device of the network equipment
CN105653370A (en) * 2015-12-29 2016-06-08 中国银联股份有限公司 System and method for obtaining virtual machine resources on PaaS platform
CN108307438A (en) * 2017-01-13 2018-07-20 华为技术有限公司 Data transmission method for uplink, data receiver method, terminal device and the network equipment
WO2019011262A1 (en) * 2017-07-14 2019-01-17 华为技术有限公司 Method and apparatus for resource allocation
CN109361750A (en) * 2018-10-24 2019-02-19 上海精数信息科技有限公司 Resource allocation methods, device, electronic equipment, storage medium
CN111767140A (en) * 2020-06-19 2020-10-13 四川九洲电器集团有限责任公司 Resource allocation method, system, medium and equipment of cloud computing system
CN113923229A (en) * 2021-10-14 2022-01-11 京东科技信息技术有限公司 Elastic scheduling method and device for cloud computing resources and related equipment
WO2023151268A1 (en) * 2022-02-14 2023-08-17 华为云计算技术有限公司 Service distribution method, apparatus and system

Also Published As

Publication number Publication date
CN103713955B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN103713955A (en) Method and device for managing resource dynamic allocation
CN105912403B (en) The method for managing resource and device of Docker container
US20180198855A1 (en) Method and apparatus for scheduling calculation tasks among clusters
CN104142860A (en) Resource adjusting method and device of application service system
KR101155202B1 (en) Method for managing power for multi-core processor, recorded medium for performing method for managing power for multi-core processor and multi-core processor system for performing the same
CN104391749A (en) Resource allocation method and device
US20230004436A1 (en) Container scheduling method and apparatus, and non-volatile computer-readable storage medium
GB2492870A (en) Optimizing a file system for different types of applications in a compute cluster using dynamic block size granularity
CN106557369A (en) A kind of management method and system of multithreading
CN102426544A (en) Task allocating method and system
CN107844187A (en) Power consumption management method, device and electronic equipment
CN104572301A (en) Resource distribution method and system
CN105743677A (en) Resource configuration method and apparatus
CN105580007A (en) Monitoring a computing network
CN103560915A (en) Method and system for managing resources in cloud computing system
CN104144210A (en) Method and system for automatically building data service
CN103685544A (en) Performance pre-evaluation based client cache distributing method and system
CN105824687B (en) A kind of method and device of Java Virtual Machine performance automated tuning
CN103455131A (en) Probability-based task scheduling method for minimizing energy consumption in embedded system
CN104111876A (en) Dynamic resource management device and method based on Oracle resource plan
US20160139940A1 (en) Systems and methods for creating virtual machine
CN110969565B (en) Image processing method and device
CN105471644A (en) Method for flexile regulation and control of network flow of tenement in cloud environment
CN105426252A (en) Thread distribution method and system of distributed type file system
CN102571453B (en) Facility resource pool management method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100193 Beijing, Haidian District, northeast Wang West Road, building 8, building 36, floor 5

Patentee after: Shuguang Cloud Computing Group Co.,Ltd.

Address before: 100193 Beijing, Haidian District, northeast Wang West Road, building 8, building 36, floor 5

Patentee before: DAWNING CLOUD COMPUTING TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221107

Address after: 014000 No. 8, Qingshan Road, Xinjian District, Qingshan District, Baotou, Inner Mongolia Autonomous Region

Patentee after: Baotou City Cloud Computing Technology Co.,Ltd.

Address before: 100193 5 floor, 36 building, No. 8 Northeast Road, Haidian District, Beijing.

Patentee before: Shuguang Cloud Computing Group Co.,Ltd.