CN103713955B - Management method and apparatus for dynamic allocation of resources - Google Patents

Management method and apparatus for dynamic allocation of resources Download PDF

Info

Publication number
CN103713955B
CN103713955B CN 201310752071 CN201310752071A CN103713955B CN 103713955 B CN103713955 B CN 103713955B CN 201310752071 CN201310752071 CN 201310752071 CN 201310752071 A CN201310752071 A CN 201310752071A CN 103713955 B CN103713955 B CN 103713955B
Authority
CN
Grant status
Grant
Patent type
Application number
CN 201310752071
Other languages
Chinese (zh)
Other versions
CN103713955A (en )
Inventor
马玉国
李亦民
张平
Original Assignee
曙光云计算技术有限公司
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
Grant date

Links

Abstract

本发明公开了一种资源动态分配的管理方法和装置,该资源动态分配的管理方法包括:对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量;根据确定出的业务操作在不同时间段所需的资源量,生成资源伸缩配置信息;根据资源伸缩配置信息,为不同时间段执行业务操作分配对应的资源。 The present invention discloses a management method and apparatus for dynamic allocation of a resource management method of the dynamic resource allocation comprising: a pair of business operations to be executed are analyzed to determine the amount of resources required for the service operation at different time periods; determined according to the the amount of resources required for business operations at different times, to generate scalable resource configuration information; scalable resource configuration information, performs traffic operations corresponding to the allocation of resources for different time periods. 本发明通过预先对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量,然后,根据该资源量,生成资源伸缩配置信息,并根据该资源伸缩配置信息,为不同时间执行业务操作分配对应的资源,从而实现了在不同的时间段,采用不同的伸缩策略进行资源的动态分配,进而有效的提高了资源池的使用效率,使得资源池更具有弹性。 The present invention is in advance of the business operations to be executed are analyzed to determine the amount of resources of the service operations required at different times, and then, based on the amount of resources, generate the resource telescoping configuration information and the configuration information according to the resource retractable for different performing resource allocation time corresponding business operations, in order to achieve a different time periods, using different strategies telescopic dynamic allocation of resources, and thus effectively improves the efficiency of the resource pool, so that more flexible resource pool.

Description

资源动态分配的管理方法和装置 Management method and apparatus for dynamic allocation of resources

技术领域 FIELD

[0001] 本发明涉及计算机领域,具体来说,涉及一种资源动态分配的管理方法和装置。 [0001] The present invention relates to the computer field, particularly, to a management method and apparatus for dynamic allocation of a resource.

背景技术 Background technique

[0002] 目前,现有的Paas(Platform-as-a-Service,平台即服务)平台基本都支持资源池的自动伸缩(即资源的自动申请和释放)策略。 [0002] Currently, existing Paas (Platform-as-a-Service, Platform as a Service) platform basic support auto-scaling resource pools (automatically apply and release of resources) strategy. 现有自动伸缩策略有两种,一种是采用定值伸缩值来实现资源的自动伸缩,另一种是采用设定的伸缩率来实现资源的自动伸缩。 There are two conventional automatic retractable strategy, is the use of setting value automatically retractable telescopic resources, the other is a telescopic set of resources to achieve automatic retractable.

[0003] 然而,在实际应用时,不管是第一种自动伸缩策略,还是第二种自动伸缩策略,均存在着不足之处,例如,伸缩动作不够灵活。 [0003] However, in practice, whether it is the first automatic retractable strategy, or the second automatic retractable strategy, there are shortcomings, for example, telescopic action is not flexible enough. 使用不够方便,且当用户对系统不够熟悉时,设定的值存在过大或过小的情况,进而影响了资源池的使用效率。 Use is not convenient enough, and when the user is not familiar with the system, there is a value set too large or too small, thereby affecting the efficiency of the use of the resource pool.

[0004] 针对相关技术中的上述问题,目前尚未提出有效的解决方案。 [0004] In response to these problems in the related art, it has not yet come up with effective solutions.

发明内容 SUMMARY

[0005] 针对相关技术中的上述问题,本发明提出一种资源动态分配的管理方法和装置, 能够实现在不同的时间段,采用不同的伸缩策略进行资源的动态分配,从而有效的提高了资源池的使用效率,使的资源池更具有弹性。 [0005] In view of the above problems in the related art, the present invention proposes a management method and apparatus for dynamic allocation of a resource can be implemented in different time periods, using different strategies telescopic dynamic allocation of resources to effectively improve the resource efficient use of the pool, the pool of resources more flexible.

[0006] 本发明的技术方案是这样实现的: [0006] aspect of the present invention is implemented as follows:

[0007] 根据本发明的一个方面,提供了一种资源动态分配的管理方法。 [0007] In accordance with one aspect of the invention there is provided a management method for dynamic allocation of a resource.

[0008] 该资源动态分配的管理方法包括: [0008] The management method for dynamic resource allocation comprising:

[0009] 对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量; [0010]根据确定出的业务操作在不同时间段所需的资源量,生成资源伸缩配置信息; [0011]根据资源伸缩配置信息,为不同时间段执行业务操作分配对应的资源。 [0009] The service operation to be executed are analyzed to determine the amount of resources required for the service operation at different times; [0010] According to the determined amount of resources required for business operations at different times, to generate scalable resource configuration information ; [0011] the scalable resource configuration information for different time periods assigned to perform the operation corresponding to the service resources.

[0012] 其中,在根据确定出的业务操作在不同时间段所需的资源量,生成资源伸缩配置信息时,可将确定出的业务操作在不同时间段所需的资源量,作为在对应时间段执行业务操作的默认资源分配量;并根据不同时间段的默认资源分配量之间的差异关系,生成资源伸缩配置信息。 [0012] wherein the amount of resources according to the determined amount of resources required for business operations at different times, generating scalable resource configuration information can be determined business operations required at different times as the corresponding time default resource allocation section performs traffic operations; and according to a difference relationship between the amount of the default resource allocation for different time periods, generating a resource telescoping configuration information.

[0013] 此外,该资源动态分配的管理方法还包括:预先为业务操作的不同时间段配置多个备份资源分配量,其中,备份资源分配量大于默认资源分配量。 [0013] Further, management method of dynamic allocation of the resource further comprises: a plurality of pre-configured backup resource allocation amount for different operational periods, wherein the backup resource allocation is greater than the amount of the default resource allocation.

[0014] 另外,该资源动态分配的管理方法还包括:在执行业务操作时,实时检测业务操作在不同时间段所需的实际资源。 [0014] Further, management of dynamic allocation of the resource further comprises: performing the actual resources when operational, business operations required for real-time detection at different times.

[0015] 此外,该资源动态分配的管理方法还包括:根据业务操作在每个时间段所需的实际资源,判断该时间段的默认资源分配量是否满足实际资源;在判断结果为否的情况下,将该时间段中满足实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的业务操作分配资源。 [0015] Further, management method of dynamic allocation of the resource further comprises: according to the actual operational resources required for each period, determines the amount of the default resource allocation period satisfies the actual resource; in the case where the determination result is NO next, the time period to meet the actual backup resource allocation amount of resources as the amount of current resource allocation and resource allocation based on the allocation of resources for the period of business operations.

[0016] 根据本发明的另一方面,提供了一种资源动态分配的管理装置。 [0016] According to another aspect of the present invention, there is provided an apparatus managing a dynamic allocation of resources.

[0017] 该资源动态分配的管理装置包括: [0017] The management device dynamic resource allocation comprising:

[0018] 分析模块,用于对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量; [0018] The analysis module for the business operations to be executed are analyzed to determine the amount of resources required for the service operation at different times;

[0019] 生成模块,用于根据确定出的业务操作在不同时间段所需的资源量,生成资源伸缩配置信息; [0019] The generating module, according to the determined amount of resources required for business operations at different times, to generate scalable resource configuration information;

[0020] 执行模块,用于根据资源伸缩配置信息,为不同时间段执行业务操作分配对应的资源。 [0020] The execution module for scalable resource configuration information, performs traffic operations corresponding to the allocation of resources for different time periods.

[0021] 其中,生成模块包括:第一配置模块,用于将确定出的业务操作在不同时间段所需的资源量,作为在对应时间段执行业务操作的默认资源分配量;信息生成模块,用于根据不同时间段的默认资源分配量之间的差异关系,生成资源伸缩配置信息。 [0021] wherein the generation module comprises: a first configuration module for the determined amount of resources required for the operation of the traffic at different times, as the amount of the default resource allocation performed in a corresponding operational period; information generation module, the difference for the relationship between the amount of the default resource allocation for different time periods, generating a resource telescoping configuration information.

[0022]此外,该资源动态分配的管理装置还包括:第二配置模块,用于预先为业务操作的不同时间段配置多个备份资源分配量,其中,备份资源分配量大于默认资源分配量。 [0022] Further, the management apparatus dynamically assigned resource further comprises: a second configuring module, a plurality of pre-configured backup resource allocation amount for different operational periods, wherein the backup resource allocation is greater than the amount of the default resource allocation.

[0023]另外,该资源动态分配的管理装置还包括:实时检测模块,用于在执行业务操作时,实时检测业务操作在不同时间段所需的实际资源。 [0023] Further, the management apparatus dynamically assigned resource further comprises: a detection module in real time, the actual resources when performing business operations, real-time detection of the business operations required for different time periods.

[0024] 此外,该资源动态分配的管理装置还包括:判断模块,用于根据每个时间段所需的实际资源,判断该时间段的默认资源分配量是否满足实际资源;第三配置模块,用于在判断结果为否的情况下,将该时间段中满足实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的业务操作分配资源。 [0024] Further, the management apparatus dynamically assigned resource further comprises: a determining module, based on the actual resources required for each time period, determining the amount of the default resource allocation period satisfies the actual resource; a third configuration module, for the case where the judgment result is NO, the amount of backup resource allocation satisfies the time period as the current actual resource allocation resource amount and resource allocation based on the allocation of resources for the period of business operations.

[0025] 本发明通过预先对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量,然后,根据该资源量,生成资源伸缩配置信息,并根据该资源伸缩配置信息, 为不同时间执行业务操作分配对应的资源,从而实现了在不同的时间段,采用不同的伸缩策略进行资源的动态分配,进而有效的提高了资源池的使用效率,使得资源池更具有弹性。 [0025] The present invention anticipates the business operations to be performed by analyzing, determining the amount of resources of the service operations required at different times, and then, based on the amount of resources, generate the resource telescoping configuration information and the configuration information according to the resource Telescopic performing resource business operations assigned respective different times, in order to achieve a different time period, use different telescoping strategies dynamic allocation of resources, and thus effectively improves the efficiency of use of the resource pool, so that the resource pool is more flexible.

[0026] 此外,本发明还通过为不同时间段配置多个备份资源分配量,并同时实时检测业务操作在不同时间段所需的实际资源,当默认资源分配量不满足所需的实际资源时,将多个备份资源分配量中满足所需实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的业务操作分配对应的资源,从而实现了根据业务操作实际所需的资源,动态调整资源分配量,以满足实际的需求,进而避免了设定的资源分配量过大或过小的问题发生。 [0026] Further, the present invention also for different period of time by arranging a plurality of backup resource allocation amount, and simultaneous real-time detection of the actual operational resources required at different times, when the default resource allocation amount does not meet the actual resources needed the backup resource allocation amount plurality of resource allocation in the amount required to meet the actual backup resource amount as the current resource allocation and resource allocation based on the operational amount for the period corresponding to the allocation of resources according to the service in order to achieve a the actual resources needed to operate dynamically adjust resource allocation to meet the actual demand, thereby avoiding the setting of resource allocation is too small or too large of a problem.

附图说明 BRIEF DESCRIPTION

[0027] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0027] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the drawings are briefly introduced as required for use in the embodiments describing the embodiments. Apparently, the accompanying drawings described below are merely Some embodiments of the invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0028] 图1是根据本发明实施例的资源动态分配的管理方法的流程示意图; [0028] FIG. 1 is a schematic diagram of the process management method of dynamic allocation of resources embodiment of the present invention;

[0029] 图2是根据本发明实施例的资源动态分配的管理装置的结构示意图。 [0029] FIG. 2 is a schematic structural diagram of a dynamically allocated resource management apparatus embodiment in accordance with the embodiment of the invention.

具体实施方式 detailed description

[0030] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0030] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of the present invention.

[0031] 根据本发明的实施例,提供了一种资源动态分配的管理方法。 [0031] According to an embodiment of the present invention, there is provided a management method for dynamic allocation of a resource.

[0032] 如图1所示,根据本发明实施例的资源动态分配的管理方法包括: [0032] 1, according to the management method of dynamic allocation of resources embodiment of the present invention comprises:

[0033] 步骤S101,对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量; [0033] step S101, the business operations to be executed are analyzed to determine the amount of resources required for the service operation at different times;

[0034] 步骤S103,根据确定出的业务操作在不同时间段所需的资源量,生成资源伸缩配置信息; [0034] Step S103, the amount of resources according to the determined business operations required at different times, to generate scalable resource configuration information;

[0035]步骤S105,根据资源伸缩配置信息,为不同时间段执行业务操作分配对应的资源。 [0035] In step S105, the configuration information according to the resource stretching, performs traffic operations corresponding to the allocation of resources for different time periods. [0036]其中,在根据确定出的业务操作在不同时间段所需的资源量,生成资源伸缩配置信息时,可将确定出的业务操作在不同时间段所需的资源量,作为在对应时间段执行业务操作的默认资源分配量;并根据不同时间段的默认资源分配量之间的差异关系,生成资源伸缩配置信息。 [0036] wherein the amount of resources according to the determined amount of resources required for business operations at different times, generating scalable resource configuration information can be determined business operations required at different times as the corresponding time default resource allocation section performs traffic operations; and according to a difference relationship between the amount of the default resource allocation for different time periods, generating a resource telescoping configuration information.

[0037]此外,该资源动态分配的管理方法还包括:预先为业务操作的不同时间段配置多个备份资源分配量,其中,备份资源分配量大于默认资源分配量。 [0037] Further, management method of dynamic allocation of the resource further comprises: a plurality of pre-configured backup resource allocation amount for different operational periods, wherein the backup resource allocation is greater than the amount of the default resource allocation.

[0038]另外,该资源动态分配的管理方法还包括:在执行业务操作时,实时检测业务操作在不同时间段所需的实际资源。 [0038] Further, management of dynamic allocation of the resource further comprises: performing the actual resources when operational, business operations required for real-time detection at different times.

[0039] 此外,该资源动态分配的管理方法还包括:根据业务操作在每个时间段所需的实际资源,判断该时间段的默认资源分配量是否满足实际资源;在判断结果为否的情况下,将该时间段中满足实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的业务操作分配资源. [0039] Further, management method of dynamic allocation of the resource further comprises: according to the actual operational resources required for each period, determines the amount of the default resource allocation period satisfies the actual resource; in the case where the determination result is NO next, the time period to meet the actual backup resource allocation amount of resources as the amount of current resource allocation and resource allocation based on the allocation of resources for the period of business operations.

[0040] 根据本发明的实施例,还提供了一种资源动态分配的管理装置。 [0040] According to an embodiment of the present invention, there is provided a management apparatus for dynamic allocation of a resource.

[0041] 如图2所示,根据本发明实施例的资源动态分配的管理装置包括: [0041] 2, the dynamic allocation of resource management apparatus embodiment in accordance with embodiments of the present invention comprises:

[0042] 分析模块21,用于对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量; [0042] Analysis module 21, configured to perform the business operations to be analyzed to determine the amount of resources required for the service operation at different times;

[0043] 生成模块22,用于根据确定出的业务操作在不同时间段所需的资源量,生成资源伸缩配置信息; [0043] The generating module 22, according to the determined amount of resources required for business operations at different times, to generate scalable resource configuration information;

[0044] 执行模块23,用于根据资源伸缩配置信息,为不同时间段执行业务操作分配对应的资源。 [0044] The execution module 23, according to the resource configuration information for stretching, performs traffic operations corresponding to the allocation of resources for different time periods.

[0045] 其中,生成模块22包括:第一配置模块(未示出),用于将确定出的业务操作在不同时间段所需的资源量,作为在对应时间段执行业务操作的默认资源分配量;信息生成模块(未示出),用于根据不同时间段的默认资源分配量之间的差异关系,生成资源伸缩配置信息。 [0045] wherein generating module 22 comprises: a first configuration module (not shown) for the determined amount of resources required for the operation of the traffic at different times, as the default resource allocation performed in a corresponding time period of business operations amount; information generation module (not shown), according to the relationship between the difference in the amount of the default resource allocation for different time periods, generating a resource telescoping configuration information.

[0046] 此外,该资源动态分配的管理装置还包括:第二配置模块(未示出),用于预先为业务操作的不同时间段配置多个备份资源分配量,其中,备份资源分配量大于默认资源分配量。 [0046] Further, the management apparatus dynamically assigned resource further comprises: a second configuration module (not shown), a plurality of pre-configured backup resource allocation amount for different operational periods, wherein the resource allocation is greater than the backup The default resource allocation.

[0047]另外,该资源动态分配的管理装置还包括:实时检测模块(未示出),用于在执行业务操作时,实时检测业务操作在不同时间段所需的实际资源。 [0047] Further, the management apparatus dynamically assigned resource further comprising: a real-time detection module (not shown), the actual resources when performing business operations, real-time detection of the business operations required for different time periods.

[0048]此外,该资源动态分配的管理装置还包括:判断模块(未示出),用于根据每个时间段所需的实际资源,判断该时间段的默认资源分配量是否满足实际资源;第三配置模块(未示出),用于在判断结果为否的情况下,将该时间段中满足实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的业务操作分配资源。 [0048] Further, the management apparatus dynamically assigned resource further comprises: a determining module (not shown), the resources required for real time according to each determined amount of the default resource allocation period satisfies real resources; a third configuration module (not shown), a case where the determination result is NO, the amount of backup resource allocation satisfies the time period as the current actual resource allocation resource amount and resource allocation based on the amount of time for business operations within the segment allocation of resources.

[0049] 为了方便理解本发明的上述技术方案,以下从技术原理的角度对本发明的上述技术方案进行说明。 [0049] In order to facilitate understanding of the above aspect of the present invention, the above technical solution of the present invention will be explained in the context of the technical principle.

[0050] 在实际应用时,实践表明,对于一个资源池来说,资源池的使用一般不会是一个线性的过程,而是开始增长比较快,到一定使用量后,增长开始放缓,最后基本保持一个比较平稳的使用状态。 [0050] In practice, practice shows that, for a resource pool, the resource pool is generally not a linear process, but started to grow faster, to a certain amount of use, growth has slowed down, and finally substantially maintaining a relatively stable state of use. 因此,对资源池伸缩的策略,可以设定一个参考曲线,设定曲线的X轴为时长,一般定位12个月,Y轴定义为资源池伸缩的比率,这样资源池在不同的时段将使用不同的伸缩策略,这将极大的提高资源池的使用效率,使的资源池更有弹性。 Thus, the resource pool telescopic policy may set a reference curve, the curve of the X-axis is set too long, is generally positioned 12 months, Y axis is defined as the ratio of the resource pool stretching, so that the resource pool to be used at different times different flex strategy, which will greatly improve the efficiency of the use of the resource pool, the resource pool more flexible. 而在预测数据更改时,伸缩服务可以使用新的参数进行伸缩。 The change in the forecast data, the scalable service can use the new parameter scaling.

[0051] 在实际应用时,本发明的上述技术方案可通过以下步骤来实现,具体如下: [0051] In practice, the above technical solutions of the present invention can be achieved by the following steps, as follows:

[0052] 1)定义一个数据表,保存资源池伸缩率的预测数据,例如: [0052] 1) the definition of a data table stored in the resource pool expansion ratio prediction data, for example:

[0053] Table(Id,Pol icyId,MonthKey, Value), [0053] Table (Id, Pol icyId, MonthKey, Value),

[0054] 其中,表的数据包括策略ID、月份、伸缩率值。 [0054] wherein the data table includes a policy ID, the month, the value of expansion ratio.

[0055] 2)定义一个类,用来读取资源池伸缩率数据,例如, [0055] 2) a class definition, scalable resource pool for reading data rate, e.g.,

[0056] [0056]

Figure CN103713955BD00071

[0057] 3)定义一个资源池类,用来保存资源池资源实例。 [0057] 3) the definition of a resource pool, to save the resource pool resource instance.

[0058] 4)定义一个监控类,用来监控资源池状态,并读取当前资源池的伸缩率。 [0058] 4) defines a class monitor, for monitoring the state of the resource pool, and read the current resource pool expansion ratio. 当资源池实例数发生变动时,可通过该监控类读取当前阶段设定的伸缩比率,按照预先设定的伸缩曲线,读取对应的伸缩值,进行伸缩操作。 When the number of instances of the resource pool are changed, the current stage can be read zooming ratio set by the monitor class, in accordance with a predetermined curve stretching, stretching reads the corresponding values ​​for telescopic operation.

[0059] 由此可见,借助于本发明的上述技术方案,通过预先对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量,然后,根据该资源量,生成资源伸缩配置信息,并根据该资源伸缩配置信息,为不同时间执行业务操作分配对应的资源,从而可以实现在不同的时间段,采用不同的伸缩策略进行资源的动态分配,进而有效的提高了资源池的使用效率,使得资源池更具有弹性。 [0059] Thus, by means of the above technical solutions of the present invention, in advance of the business operations to be performed by analyzing, determining the amount of resources required for the service operation at different times, and then, based on the amount of resources, generates a resource telescopic configuration information and the configuration information according to the resource telescopic, perform resource business operations assigned respective different time, so that can be implemented in different time periods, using different stretching strategies dynamic allocation of resources, thereby effectively improving the resource pool the efficiency, so that more flexible resource pool.

[0060] 此外,借助于本发明的上述技术方案,通过为不同时间段配置多个备份资源分配量,并同时实时检测业务操作在不同时间段所需的实际资源,当默认资源分配量不满足所需的实际资源时,将多个备份资源分配量中满足所需实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的业务操作分配对应的资源,从而可以实现根据业务操作实际所需的资源,动态调整资源分配量,以满足实际的需求,进而避免了设定的资源分配量过大或过小的问题发生。 [0060] Further, by means of the above technical solution of the present invention, by arranging a plurality of different backup resource allocation amount of time period, while detecting the actual real-time operational resources required at different times, when the default resource allocation is not satisfied the actual resource allocation amount backup resources required, a plurality of backup resource allocation amount required to meet the actual resource allocation resource amount as the current, and the corresponding operation of the dispensing time period for the service according to the resource allocation amount of resources , can be realized according to a resource needed for the actual business operations, dynamically adjusting allocation of resources to meet the actual demand, thereby avoiding the problem of resource allocation too large or too small setting occurs.

[0061]以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 [0061] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, the, equivalent substitutions, improvements should be included in the within the scope of the present invention.

Claims (8)

  1. 1. 一种资源动态分配的管理方法,其特征在于,包括: 对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量; 根据确定出的所述业务操作在不同时间段所需的资源量,生成资源伸缩配置信息; 根据所述资源伸缩配置信息,为不同时间段执行所述业务操作分配对应的资源; 其中,根据确定出的所述业务操作在不同时间段所需的资源量,生成资源伸缩配置信息包括: 将确定出的所述业务操作在不同时间段所需的资源量,作为该对应时间段执行所述业务操作的默认资源分配量; 并且,根据不同时间段的所述默认资源分配量之间的差异关系,生成资源伸缩配置信息。 1. A method of managing dynamic allocation of resources, characterized by, comprising: the business operations to be executed are analyzed to determine the amount of resources required for the service operation at different times; determined according to the service in a different operating the amount of resources required for a period of time, to generate scalable resource configuration information; telescopic configuration information according to the resource, the resource allocation service operation is performed corresponding to different time periods; wherein the service according to the determined operating at different times the amount of resources required to generate the resource telescoping configuration information comprises: determining an amount of resources required for the service operation at different times, the amount of a resource allocation period to perform the service operation as the correspondence default; and, in accordance with the different time relationship between the difference of the default resource allocation amount, generate scalable resource configuration information.
  2. 2. 根据权利要求1所述的管理方法,其特征在于,进一步包括: 预先为业务操作的不同时间段配置多个备份资源分配量,其中,所述备份资源分配量大于所述默认资源分配量。 2. The management method according to claim 1, characterized in that, further comprising: a plurality of pre-configured backup resource allocation amount for different operational periods, wherein said backup resource allocation is greater than the amount of the default resource allocation .
  3. 3. 根据权利要求2所述的管理方法,其特征在于,进一步包括: 在执行所述业务操作时,实时检测所述业务操作在不同时间段所需的实际资源。 3. The management method according to claim 2, characterized in that, further comprising: actual traffic resources in performing the operation, real-time detection of the business operations required at different times.
  4. 4. 根据权利要求3所述的管理方法,其特征在于,进一步包括: 根据所述业务操作在每个时间段所需的实际资源,判断该时间段的所述默认资源分配量是否满足所述实际资源; 在判断结果为否的情况下,将该时间段中满足所述实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的所述业务操作分配资源。 4. The management method according to claim 3, characterized in that, further comprising: the actual resources required for operation of the service per time period, the time period determines the default resource allocation amount satisfies the actual resource; backup resource allocation amount at the determination result is NO, the actual time period to meet the current resource as the resource allocation and resource allocation based on the amount of traffic for the time period of the operation Allocating resources.
  5. 5. -种资源动态分配的管理装置,其特征在于,包括: 分析模块,用于对将要执行的业务操作进行分析,确定该业务操作在不同时间段所需的资源量; 生成模块,用于根据确定出的所述业务操作在不同时间段所需的资源量,生成资源伸缩配置信息; 执行模块,用于根据所述资源伸缩配置信息,为不同时间段执行所述业务操作分配对应的资源; 其中,第一配置模块,用于将确定出的所述业务操作在不同时间段所需的资源量,作为在对应时间段执行所述业务操作的默认资源分配量; 信息生成模块,用于根据不同时间段的所述默认资源分配量之间的差异关系,生成资源伸缩配置信息。 5. - dynamically allocated resource management device types, characterized by comprising: an analysis module configured to perform the business operations to be analyzed to determine the amount of resources required for the service operation at different times; generating means for according to the determined amount of resources required for the service operation at different times, to generate scalable resource configuration information; execution module configuration information according to the resource telescopic dispensing operation corresponding to the service execution resources for different time periods ; wherein a first configuration module for the determined amount of resources required for operation of the traffic at different times, as the default resources to perform the service operations in a corresponding allocation period; information generation means for according to the different time differences in the relationship between the default resource allocation amount, generate scalable resource configuration information.
  6. 6. 根据权利要求5所述的管理装置,其特征在于,进一步包括: 第二配置模块,用于预先为业务操作的不同时间段配置多个备份资源分配量,其中,所述备份资源分配量大于所述默认资源分配量。 6. A management apparatus according to claim 5, characterized in that, further comprising: a second configuring module, a plurality of pre-configured backup resource allocation amount for different operational periods, wherein said backup resource allocation amount greater than said default resource allocation amount.
  7. 7. 根据权利要求6所述的管理装置,其特征在于,进一步包括: 实时检测模块,用于在执行所述业务操作时,实时检测所述业务操作在不同时间段所需的实际资源。 7. A management apparatus according to claim 6, characterized in that, further comprising: a real-time detection module for performing the service operation, the actual real-time detection of the service resource required for operation at different times.
  8. 8. 根据权利要求7所述的管理装置,其特征在于,进一步包括: 判断模块,用于根据所述业务操作在每个时间段所需的实际资源,判断该时间段的所述默认资源分配量是否满足所述实际资源; 第三配置模块,用于在判断结果为否的情况下,将该时间段中满足所述实际资源的备份资源分配量作为当前的资源分配量,并根据该资源分配量为该时间段内的所述业务操作分配资源。 8. The management apparatus according to claim 7, characterized in that, further comprising: a determining module, an actual operation according to the service resource required per time period, the determination of the default resource allocation period the actual amount of resources is satisfied; a third configuration module, to the decision result is NO, the time period to meet the actual backup resource allocation amount of the resource as the current allocation of resources, according to the resource and the time period for the traffic allocation operation to allocate resources.
CN 201310752071 2013-12-31 2013-12-31 Management method and apparatus for dynamic allocation of resources CN103713955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310752071 CN103713955B (en) 2013-12-31 2013-12-31 Management method and apparatus for dynamic allocation of resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310752071 CN103713955B (en) 2013-12-31 2013-12-31 Management method and apparatus for dynamic allocation of resources

Publications (2)

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

Family

ID=50406957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310752071 CN103713955B (en) 2013-12-31 2013-12-31 Management method and apparatus for dynamic allocation of resources

Country Status (1)

Country Link
CN (1) CN103713955B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301257B (en) * 2014-09-17 2018-01-02 华为技术有限公司 A resource allocation method, apparatus and equipment
CN104244436A (en) * 2014-09-29 2014-12-24 中国联合网络通信集团有限公司 Method and device for adjusting network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122872A (en) * 2006-08-07 2008-02-13 国际商业机器公司 Method for managing application programme workload and data processing system
CN101276301A (en) * 2007-03-27 2008-10-01 赛门铁克公司 Method and apparatus for allocating resources among backup tasks in a data backup system
CN102301370A (en) * 2009-01-30 2011-12-28 惠普开发有限公司 Integration systems and methods for capacity planning and management workload

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122872A (en) * 2006-08-07 2008-02-13 国际商业机器公司 Method for managing application programme workload and data processing system
CN101276301A (en) * 2007-03-27 2008-10-01 赛门铁克公司 Method and apparatus for allocating resources among backup tasks in a data backup system
CN102301370A (en) * 2009-01-30 2011-12-28 惠普开发有限公司 Integration systems and methods for capacity planning and management workload

Also Published As

Publication number Publication date Type
CN103713955A (en) 2014-04-09 application

Similar Documents

Publication Publication Date Title
US20120124193A1 (en) Identification of Critical Web Services and their Dynamic Optimal Relocation
US20120096457A1 (en) System, method and computer program product for preprovisioning virtual machines
CN102073546A (en) Task-dynamic dispatching method under distributed computation mode in cloud computing environment
Beloglazov et al. OpenStack Neat: a framework for dynamic and energy‐efficient consolidation of virtual machines in OpenStack clouds
CN102004670A (en) Self-adaptive job scheduling method based on MapReduce
CN101894050A (en) Method, device and system for flexibly scheduling JEE application resources of cloud resource pool
US8862928B2 (en) Techniques for achieving high availability with multi-tenant storage when a partial fault occurs or when more than two complete faults occur
CN102063336A (en) Distributed computing multiple application function asynchronous concurrent scheduling method
US20070234240A1 (en) Automatically optimize performance of package execution
CN101599048A (en) Method and device for monitoring memory
JP2011138184A (en) Virtual machine migration control apparatus, virtual machine migration control method, and virtual machine migration control program
US20150058843A1 (en) Virtual hadoop manager
CN103414761A (en) Mobile terminal cloud resource scheduling method based on Hadoop framework
CN103077087A (en) Method for application program to automatically adapt to multi-core processor mode and mobile equipment
US20150160977A1 (en) Load Based Dynamic Resource Sets
CN102693177A (en) Fault diagnosing and processing methods of virtual machine as well as device and system thereof
US20120216054A1 (en) Method and apparatus for controlling power in low-power multi-core system
CN102025776A (en) Disaster tolerant control method, device and system
JP2010026699A (en) Network operation management method and device
CN101135981A (en) Method and device for realizing batch report generation
US20140040474A1 (en) Maximizing server utilization within a datacenter
US20130198758A1 (en) Task distribution method and apparatus for multi-core system
CN102611723A (en) Method for building high-performance computing application service based on virtualization technology
CN103064657A (en) Method and device for achieving multi-application parallel processing on single processors
JP2006065430A (en) Method for varying virtual computer performance

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CP01