Resource control method and device, computer equipment and storage medium

A resource and computing resource technology, applied in the computer field, can solve problems such as uncertainty and lag in resource expansion methods, achieve the effect of improving accuracy and real-time performance, and improving network services

Pending Publication Date: 2022-06-17
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above resource expansion meth

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 control method and device, computer equipment and storage medium
  • Resource control method and device, computer equipment and storage medium
  • Resource control method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025]下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开,而不能理解为对本公开的限制。相反,本公开的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。

[0026]图1是本公开一实施例提出的资源的控制方法的流程示意图。

[0027]其中,可以说明的是,本实施例的资源的控制方法的执行主体为资源的控制装置,该装置可以由软件和 / 或硬件的方式实现,该装置可以配置在计算机设备中,计算机设备可以包括但不限于终端、服务器端等,下面本公开将以服务器作为执行主体来对本实施例的资源的控制方法进行说明。

[0028]如图1所示,该资源的控制方法,包括:

[0029]步骤S101,获取任一类型的计算资源的总算力及当前的剩余算力。

[0030]本公开中,将计算资源根据其可处理任务的类型,分为不同的类型。比如,用于进行视频解码的计算资源,或者用于进行文本识别的计算资源,或者用于进行图像识别的计算资源等等。另外,任一类型的计算资源中,又可以包括任一类型对应的中央处理器资源、内存资源、硬盘资源、网络资源等等,在此不进行限定。

[0031]可选的,服务器可以首先根据计算节点集中每个计算节点的类型及算力,确定任一类型计算资源的总算力,之后根据该任一类型计算资源中每个计算节点上报的剩余算力,确定任一类型计算资源的剩余算力。

[0032]其中,计算节点集可以为包含各个计算节点的计算集群。

[0033]可选的,计算节点可以按照固定的频率,比如10秒一次、11秒一次等等,向服务器上报自身的剩余算力,本公开中服务器可以根据当前计算资源中每个计算节点上报的剩余算力,确定当前计算资源的剩余算力,在此不做限定。

[0034]其中,每个计算节点的算力可以用该计算节点的容量表征,或者用该计算节点可以运行的任务数量表征。其中,计算节点的类型可以为该计算节点的型号。

[0035]举例来说,若类型为A的任一计算节点的算力为5,也即可以同时并行处理的任务数量为5,而该计算节点的剩余算力为2,也即该计算节点当前正在并行处理3个任务。若当前的计算节点集中,还包括两个类型为A的计算节点,且一个计算节点的剩余算力为1,另一个计算节点的剩余算力为3,且该两个计算节点的总算力均为5,则可...

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 invention provides a resource control method and device, computer equipment and a storage medium, and relates to the technical field of computers. According to the specific scheme, the total computing power and the current residual computing power of any type of computing resources are obtained; under the condition that the residual computing power and the total computing power meet preset conditions, determining a resource updating mode and a resource updating quantity; acquiring state information of each node according to the resource updating mode; and updating the computing resources of any type according to the state information of each node and the resource updating quantity. Therefore, the computing resources can be automatically updated in real time according to the relation between the residual computing power of each type of computing resources and the total computing power and the state information of each node, the accuracy and the real-time performance of updating the computing resources are improved, and conditions are provided for improving network services.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to a resource control method, device, computer equipment, and storage medium. Background technique [0002] Internet back-end services usually monitor the utilization of server physical resources, such as CPU, memory, bandwidth, etc., and then trigger a monitoring alarm when the resource occupation ratio reaches a threshold in the face of sudden network traffic. The traditional solution is generally to improve the allocation of server resources by the operation and maintenance personnel to perform resource expansion and allocation after monitoring and alarming. However, the resource expansion method mentioned above has certain uncertainties and hysteresis. Therefore, how to control server resources in a timely and efficient manner is an urgent problem to be solved at present. Contents of the invention [0003] The present disclosure aims to solve one of the techn...

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): G06F9/50G06F9/445
CPCG06F9/5027G06F9/5011G06F9/5061G06F9/4451
Inventor 任振锋赵威
Owner JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products