[go: up one dir, main page]

CN114691444A - Method, device and equipment for discovering idle resources in cabinet and computer storage medium - Google Patents

Method, device and equipment for discovering idle resources in cabinet and computer storage medium Download PDF

Info

Publication number
CN114691444A
CN114691444A CN202011577856.7A CN202011577856A CN114691444A CN 114691444 A CN114691444 A CN 114691444A CN 202011577856 A CN202011577856 A CN 202011577856A CN 114691444 A CN114691444 A CN 114691444A
Authority
CN
China
Prior art keywords
cabinet
equipment
load rate
time period
load
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.)
Pending
Application number
CN202011577856.7A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Information 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 China Mobile Communications Group Co Ltd, China Mobile Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011577856.7A priority Critical patent/CN114691444A/en
Publication of CN114691444A publication Critical patent/CN114691444A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3433Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3447Performance evaluation by modeling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明实施例提供了一种机柜内闲置资源发现方法、装置、设备及计算机存储介质。获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值,根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型,获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值,当差值不满足第一预设阈值时,确定IT设备存在闲置资源能够对IT机房内闲置资源进行发现。

Figure 202011577856

Embodiments of the present invention provide a method, apparatus, device, and computer storage medium for discovering idle resources in a cabinet. Obtain the rack load rate and the load rate of each IT equipment in the first historical time period, where the rack load rate is the ratio of the real-time power of the rack to the rated power of the rack, and the load rate of each IT equipment is the ratio of the real-time power to the rated power of each IT equipment , establish a normal operation model of the cabinet and IT equipment according to the load rate of the cabinet and the load rate of each IT equipment in the first historical period, obtain the load rate of the cabinet and the load rate of each IT equipment in the preset time period, and determine the preset time The difference between the load rate of the cabinets in the segment and the load rate of each IT equipment and the normal operation model, when the difference does not meet the first preset threshold, it is determined that there are idle resources in the IT equipment, and idle resources in the IT room can be discovered.

Figure 202011577856

Description

机柜内闲置资源发现方法、装置、设备及计算机存储介质Method, device, device and computer storage medium for discovering idle resources in a cabinet

技术领域technical field

本发明属于机柜资源管控领域,尤其涉及一种机柜内闲置资源发现方法、装置、设备及计算机存储介质。The invention belongs to the field of cabinet resource management and control, and in particular relates to a method, device, equipment and computer storage medium for discovering idle resources in a cabinet.

背景技术Background technique

目前发现数据中心机构内闲置IT资源的方法主要是通过对IT资源自身的监控,这种监控方法主要包括两种方式。其中一种是直接监控IT资源,获取IT资源的利用率、性能等信息,当服务器资源使用情况在设定周期内低于设定阈值时,则判断该服务器属于闲置IT资源。还有一种是从IT管理系统、虚拟化系统和负载分发等系统查看每台服务器上游流量或用户访问信息,当流量或用户访问量长期在设定周期内低于设定阈值时,判断该服务器属于闲置IT资源。但是,上述方法在IT监控管理没有完全覆盖时,均无法对IT机房机柜内闲置资源进行发现。At present, the method of discovering idle IT resources in a data center organization is mainly through monitoring the IT resources themselves. This monitoring method mainly includes two methods. One of them is to directly monitor IT resources and obtain information such as the utilization rate and performance of IT resources. When the server resource usage falls below the set threshold within the set period, it is determined that the server is an idle IT resource. Another is to view the upstream traffic or user access information of each server from the IT management system, virtualization system, and load distribution system. When the traffic or user access is lower than the set threshold for a long time within a set period, the server is judged. It belongs to idle IT resources. However, the above methods cannot discover idle resources in the cabinet of the IT equipment room when the IT monitoring and management are not completely covered.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种机柜内闲置资源发现方法、装置、设备及计算机存储介质,能够对IT机房内闲置资源进行发现。Embodiments of the present invention provide a method, device, device, and computer storage medium for discovering idle resources in a cabinet, which can discover idle resources in an IT room.

第一方面,本发明实施例提供一种机柜内闲置资源发现方法,方法包括:In a first aspect, an embodiment of the present invention provides a method for discovering idle resources in a cabinet. The method includes:

获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值;Obtain the rack load rate and the load rate of each IT equipment in the first historical time period, where the rack load rate is the ratio of the real-time power of the rack to the rated power of the rack, and the load rate of each IT equipment is the ratio of the real-time power to the rated power of each IT equipment ;

根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型;Establish a normal operation model of the cabinet and IT equipment according to the load rate of the cabinet and the load rate of each IT equipment in the first historical period;

获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值是否满足预设阈值;Acquire the load ratio of the cabinet and the load ratio of each IT equipment within the preset time period, and determine whether the difference between the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period and the normal operation model meets the preset threshold;

若差值不满足预设阈值,则确定IT设备存在闲置资源。If the difference does not meet the preset threshold, it is determined that the IT equipment has idle resources.

在一种可选地实施方式中,建立机柜与IT设备的正常运行模型,包括:确定机柜负载率与各IT设备的负载率是否满足阈值;In an optional implementation manner, establishing a normal operation model of the cabinet and IT equipment includes: determining whether the load ratio of the cabinet and the load ratio of each IT device meet a threshold;

若机柜负载率与各IT设备的负载率均满足阈值,则将第一历史时间段划分为多个周期,并确定每个周期的机柜负载率与各IT设备负载率与第一历史时间段内的剩余周期的相关度是否满足阈值;If both the rack load rate and the load rate of each IT equipment meet the threshold, the first historical time period is divided into multiple periods, and the rack load rate of each period and the load rate of each IT equipment and the first historical period are determined. Whether the correlation of the remaining cycles of satisfies the threshold;

若相关度满足阈值,则确定第一历史时间段内的机柜负载率为机柜正常运行模型,各IT设备负载率为各IT设备的正常运行模型;If the correlation degree satisfies the threshold, determine that the rack load rate in the first historical time period is the normal operation model of the rack, and the load rate of each IT equipment is the normal operation model of each IT equipment;

若机柜负载率、各IT设备的负载率或相关度不满足对应的阈值,则选取第二历史时间段,并确定第二历史时间段的数据是否满足相关阈值。If the load ratio of the cabinet, the load ratio of each IT device, or the correlation degree does not meet the corresponding threshold, a second historical time period is selected, and it is determined whether the data of the second historical time period meets the relevant threshold.

在一种可选地实施方式中,在确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值之前,包括:In an optional implementation manner, before determining the load rate of the rack within a preset time period and the difference between the load rate of each IT equipment and the normal operation model, the method includes:

确定预设时间段内的机柜负载率与各IT设备负载率是否满足阈值;Determine whether the load rate of the cabinet and the load rate of each IT equipment within a preset time period meet the threshold;

若满足阈值,则确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值是否满足预设阈值;If the threshold is met, then determine whether the difference between the load rate of the cabinet and the load rate of each IT equipment and the normal operation model within the preset time period meets the preset threshold;

若不满足阈值,则确定IT设备存在闲置资源。If the threshold is not met, it is determined that the IT equipment has idle resources.

在一种可选地实施方式中,方法还包括:In an optional embodiment, the method further includes:

若差值满足预设阈值,则确定IT设备不存在闲置资源。If the difference satisfies the preset threshold, it is determined that the IT equipment does not have idle resources.

在一种可选地实施方式中,方法还包括:In an optional embodiment, the method further includes:

生成提示信息,提示信息用于提示用户闲置的机柜和IT设备。Generate prompt information, the prompt information is used to prompt the user of idle cabinets and IT equipment.

第二方面,本发明实施例提供了一种机柜内闲置资源发现装置,装置包括:In a second aspect, an embodiment of the present invention provides a device for discovering idle resources in a cabinet, and the device includes:

获取模块,用于获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值;The obtaining module is used to obtain the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period, where the load ratio of the cabinet is the ratio of the real-time power of the cabinet to the rated power of the cabinet, and the load ratio of each IT device is the real-time power of each IT device. Ratio to rated power;

确定模块,用于根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型;A determination module for establishing a normal operation model of the cabinet and IT equipment according to the load rate of the cabinet and the load rate of each IT equipment in the first historical period;

确定模块,还用于获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值是否满足预设阈值;The determination module is also used to obtain the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period, and determine whether the difference between the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period and the normal operation model is not meet the preset threshold;

确定模块,还用于若差值不满足预设阈值,则确定IT设备存在闲置资源。The determining module is further configured to determine that the IT equipment has idle resources if the difference does not meet the preset threshold.

在一种可选地实施方式中,确定模块具体用于:In an optional implementation manner, the determining module is specifically used for:

确定机柜负载率与各IT设备的负载率是否满足阈值;Determine whether the load rate of the cabinet and the load rate of each IT equipment meet the threshold;

若机柜负载率与各IT设备的负载率均满足阈值,则将第一历史时间段划分为多个周期,并确定每个周期的机柜负载率与各IT设备负载率与第一历史时间段内的剩余周期的相关度是否满足阈值;If both the rack load rate and the load rate of each IT equipment meet the threshold, the first historical time period is divided into multiple periods, and the rack load rate of each period and the load rate of each IT equipment and the first historical period are determined. Whether the correlation of the remaining cycles of satisfies the threshold;

若相关度满足阈值,则确定第一历史时间段内的机柜负载率为机柜正常运行模型,各IT设备负载率为各IT设备的正常运行模型;If the correlation degree satisfies the threshold, determine that the rack load rate in the first historical time period is the normal operation model of the rack, and the load rate of each IT equipment is the normal operation model of each IT equipment;

若机柜负载率、各IT设备的负载率或相关度不满足对应的阈值,则选取第二历史时间段,并确定第二历史时间段的数据是否满足相关阈值。If the load ratio of the cabinet, the load ratio of each IT device, or the correlation degree does not meet the corresponding threshold, a second historical time period is selected, and it is determined whether the data of the second historical time period meets the relevant threshold.

在一种可选地实施方式中,确定模块还用于:In an optional implementation manner, the determining module is further used for:

确定预设时间段内的机柜负载率与各IT设备负载率是否满足阈值;Determine whether the load rate of the cabinet and the load rate of each IT equipment within a preset time period meet the threshold;

若满足阈值,则确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值是否满足预设阈值;If the threshold is met, then determine whether the difference between the load rate of the cabinet and the load rate of each IT equipment and the normal operation model within the preset time period meets the preset threshold;

若不满足阈值,则确定IT设备存在闲置资源。If the threshold is not met, it is determined that the IT equipment has idle resources.

第三方面,本发明实施例提供了一种机柜内闲置资源发现设备,设备包括:处理器,以及存储有计算机程序指令的存储器;处理器读取并执行计算机程序指令,以执行第一方面或第一方面的任一可选的实施方式提供的机柜内闲置资源发现方法。In a third aspect, an embodiment of the present invention provides a device for discovering idle resources in a cabinet. The device includes: a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to execute the first aspect or Any optional implementation manner of the first aspect provides a method for discovering idle resources in a cabinet.

第四方面,本发明实施例提供了一种计算机存储介质,计算机存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现第一方面或第一方面的任一可选的实施方式提供的机柜内闲置资源发现方法。In a fourth aspect, an embodiment of the present invention provides a computer storage medium, where computer program instructions are stored on the computer storage medium, and when the computer program instructions are executed by a processor, the first aspect or any optional implementation manner of the first aspect is implemented Provides a method for discovering idle resources in a cabinet.

本发明实施例的闲置资源发现方法、装置、设备及计算机存储介质,能够获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值,根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型,获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值,当所述差值不满足第一预设阈值时,确定IT设备存在闲置资源能够对IT机房内闲置资源进行发现。The method, device, device, and computer storage medium for discovering idle resources according to the embodiments of the present invention can obtain the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period, wherein the load ratio of the cabinet is the real-time power of the cabinet and the rated power of the cabinet. The ratio of each IT equipment load rate is the ratio of the real-time power of each IT equipment to the rated power. According to the rack load rate in the first historical period and the load rate of each IT equipment, the normal operation model of the rack and IT equipment is established, and the preset value is obtained. The load ratio of the cabinet and the load ratio of each IT equipment in the time period, and determine the difference between the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period and the normal operation model, when the difference does not satisfy the first When the threshold is preset, it is determined that there are idle resources in the IT equipment, so that idle resources in the IT room can be discovered.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present invention. For those of ordinary skill in the art, without creative work, the Additional drawings can be obtained from these drawings.

图1为本发明实施例提供的一种列头柜至机柜配电结构示意图;FIG. 1 is a schematic diagram of a column head cabinet-to-cabinet power distribution structure according to an embodiment of the present invention;

图2是本发明实施例提供的一种机柜内闲置资源发现方法的流程示意图;2 is a schematic flowchart of a method for discovering idle resources in a cabinet according to an embodiment of the present invention;

图3是本发明实施例提供的另一种机柜内闲置资源发现方法的流程示意图;3 is a schematic flowchart of another method for discovering idle resources in a cabinet according to an embodiment of the present invention;

图4是本发明实施例提供的一种机柜内闲置资源发现装置的结构示意图;4 is a schematic structural diagram of an apparatus for discovering idle resources in a cabinet according to an embodiment of the present invention;

图5是本发明实施例中机柜内闲置资源发现设备的示例性硬件架构的结构图。FIG. 5 is a structural diagram of an exemplary hardware architecture of an idle resource discovery device in a cabinet according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将详细描述本发明的各个方面的特征和示例性实施例,为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本发明进行进一步详细描述。应理解,此处所描述的具体实施例仅意在解释本发明,而不是限定本发明。对于本领域技术人员来说,本发明可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本发明的示例来提供对本发明更好的理解。The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present invention, but not to limit the present invention. It will be apparent to those skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is only intended to provide a better understanding of the present invention by illustrating examples of the invention.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element defined by the phrase "comprising" does not preclude the presence of additional identical elements in the process, method, article or device that includes the element.

首先,为了便于理解,本发明实施例的下述部分先对本发明的应用场景与本发明中的相关的技术术语进行说明。First, for ease of understanding, the following parts of the embodiments of the present invention first describe the application scenarios of the present invention and related technical terms in the present invention.

国内外数据中心目前普遍接受和采用的一种衡量数据中心基础设施能效的指标是PUE,其计算公式为:PUE=数据中心总耗电/IT设备耗电,其中“数据中心的总耗电”是维持数据中心正常运行的所有耗电,包括IT设备、制冷设备、供配电系统和其它设施的耗电的总和。在数据中心中,只有IT设备的耗电被认为是“有意义”的电能。PUE的实际含义,是计算在提供给数据中心的总电能中,有多少电能是真正应用到IT设备上。但在将更多电能用在应用到IT设备上时,同时还需注意,减少IT设备毫无意义的空转运行。A commonly accepted and adopted indicator of data center infrastructure energy efficiency at home and abroad is PUE. Its calculation formula is: PUE=total power consumption of data center/power consumption of IT equipment, among which "total power consumption of data center" It is the sum of all power consumption to maintain the normal operation of the data center, including the power consumption of IT equipment, cooling equipment, power supply and distribution systems and other facilities. In a data center, only the power consumption of IT equipment is considered "meaningful" power. The actual meaning of PUE is to calculate how much of the total power supplied to the data center is actually applied to IT equipment. However, when applying more power to IT equipment, it is also necessary to pay attention to reducing the meaningless idling of IT equipment.

IT设备主要包括:(1)服务器类,包括机架式、刀片式以及塔式服务器;(2)存储类,包括磁盘阵列、存储区域网络(Storage Area Network,SAN)以及交换机类的存储设备,以及磁带库、虚拟带库类的备份设备;(3)网络类,包括交换机、路由器、防火墙、虚拟专用网络(Virtual Private Network,VPN)以及负载均衡各类专用网络设备;(4)IT支撑类:主要包括用于运行维护的监控管理类设备。IT equipment mainly includes: (1) servers, including rack, blade, and tower servers; (2) storage, including disk arrays, storage area networks (SANs), and switch-type storage devices, And backup devices such as tape libraries and virtual tape libraries; (3) Networks, including switches, routers, firewalls, virtual private networks (Virtual Private Networks, VPNs) and various types of dedicated network devices for load balancing; (4) IT support : Mainly includes monitoring and management equipment for operation and maintenance.

图1为本发明实施例提供的一种列头柜至机柜配电结构示意图。如图1所示:机柜的电能由列头柜供给,机柜内设置IT设备。FIG. 1 is a schematic diagram of a column head cabinet-to-cabinet power distribution structure according to an embodiment of the present invention. As shown in Figure 1: The power of the cabinet is supplied by the column head cabinet, and IT equipment is installed in the cabinet.

为了解决现有技术问题,本发明实施例提供了一种机柜内闲置资源发现方法、装置、设备及计算机存储介质。In order to solve the problems in the prior art, embodiments of the present invention provide a method, apparatus, device, and computer storage medium for discovering idle resources in a cabinet.

下面首先对本发明实施例所提供的机柜内闲置资源发现方法进行介绍。The following first introduces the method for discovering idle resources in a cabinet provided by the embodiment of the present invention.

图2示出了本发明实施例提供的一种机柜内闲置资源发现方法的流程示意图。如图2所示,该方法可以包括以下步骤:FIG. 2 shows a schematic flowchart of a method for discovering idle resources in a cabinet according to an embodiment of the present invention. As shown in Figure 2, the method may include the following steps:

S201、获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值。S201. Acquire the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period, where the load ratio of the cabinet is the ratio of the real-time power of the cabinet to the rated power of the cabinet, and the load ratio of each IT equipment is the real-time power and rated power of each IT device ratio.

在一些实施例中,在步骤S101之前,方法还包括获取机柜额定功率Pe、各IT设备的额定功率Pm、机柜的实时功率Pi与IT设备的实时功率Pit。In some embodiments, before step S101, the method further includes acquiring the rated power Pe of the rack, the rated power Pm of each IT device, the real-time power Pi of the rack, and the real-time power Pit of the IT device.

在一些实施例中,机柜负载率为η,机柜内IT设备负载率ηit,则:In some embodiments, the rack load rate is η, and the IT equipment load rate in the rack is ηit, then:

η=Pi/Pe*100%;η=Pi/Pe*100%;

ηit=Pit/Pm*100%。ηit=Pit/Pm*100%.

S202、根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型。S202. Establish a normal operation model of the cabinet and the IT equipment according to the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period.

在一些实施例中,第一历史时间段包括小时、天、周、月及年。In some embodiments, the first historical time period includes hours, days, weeks, months, and years.

S203、获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值。S203: Acquire the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period, and determine the difference between the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period and the normal operation model.

S204、当所述差值不满足第一预设阈值时,确定IT设备存在闲置资源。S204. When the difference does not meet the first preset threshold, determine that the IT equipment has idle resources.

本发明实施例的闲置资源发现方法能够获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值,根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型,获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值是否满足预设阈值,若差值不满足预设阈值,则确定IT设备存在闲置资源能够对IT机房内闲置资源进行发现。The idle resource discovery method according to the embodiment of the present invention can obtain the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period, wherein the load ratio of the cabinet is the ratio of the real-time power of the cabinet to the rated power of the cabinet, and the load ratio of each IT equipment is the ratio of the real-time power of the cabinet to the rated power of the cabinet. The ratio of the real-time power to the rated power of each IT equipment, according to the rack load rate in the first historical period and the load rate of each IT equipment, establish a normal operation model of the rack and IT equipment, and obtain the rack load rate and each IT equipment in the preset time period. IT equipment load rate, and determine whether the difference between the cabinet load rate and each IT equipment load rate and the normal operation model within the preset time period meets the preset threshold, and if the difference does not meet the preset threshold, determine the IT equipment If there are idle resources, the idle resources in the IT room can be discovered.

基于本发明上述实施例并结合图3示出的机柜内闲置资源发现方法,本发明实施例提供了另一种机柜内闲置资源发现方法的流程示意图。如图3所示,步骤包括:Based on the foregoing embodiments of the present invention and in conjunction with the method for discovering idle resources in a cabinet shown in FIG. 3 , an embodiment of the present invention provides a schematic flowchart of another method for discovering idle resources in a cabinet. As shown in Figure 3, the steps include:

S301、获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值。S301. Acquire the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period, where the load ratio of the cabinet is the ratio of the real-time power of the cabinet to the rated power of the cabinet, and the load ratio of each IT equipment is the real-time power and rated power of each IT device ratio.

S302、确定第一历史时间段内机柜负载率与各IT设备的负载率是否满足第二预设阈值;若是则进入步骤S303;若否,则进入步骤S311。S302. Determine whether the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period meet the second preset threshold; if so, go to step S303; if not, go to step S311.

在一些实施例中,阈值包括20%。In some embodiments, the threshold includes 20%.

在一些实施例中,确定机柜负载率与各IT设备负载率是否满足阈值包括,确定机柜负载率与各IT设备负载率是否大于或等于20%。In some embodiments, determining whether the load ratio of the cabinet and the load ratio of each IT device meet the threshold includes determining whether the load ratio of the cabinet and the load ratio of each IT device is greater than or equal to 20%.

S303、将第一历史时间段划分为多个周期,并确定每个周期的机柜负载率与各IT设备负载率与第一历史时间段内的其他周期内的机柜负载率与各IT设备负载率的相关度是否满足第三预设阈值;若是,则进入步骤S304;若否,则进入步骤S309。S303. Divide the first historical time period into a plurality of periods, and determine the rack load rate and each IT equipment load rate in each period and the rack load rate and each IT equipment load rate in other periods within the first historical period Whether the correlation of satisfies the third preset threshold; if yes, go to step S304; if not, go to step S309.

在一些实施例中,相关度是用以反映变量之间相关关系密切程度的统计指标。相关度是按积差方法计算,同样以两变量与各自平均值的离差为基础,通过两个离差相乘来反映两变量之间相关程度;In some embodiments, the correlation is a statistical indicator used to reflect the closeness of the correlation between variables. The correlation is calculated according to the product-difference method, which is also based on the deviation between the two variables and their respective average values, and the degree of correlation between the two variables is reflected by multiplying the two deviations;

公式定义如下:The formula is defined as follows:

Figure BDA0002863881670000071
Figure BDA0002863881670000071

其中,Cov(X,Y)为X与Y的协方差,Var[X]为X的方差,Var[Y]为Y的方差;相关度取值范围是在-1和+1之间,即-1≤r≤1。Among them, Cov(X,Y) is the covariance of X and Y, Var[X] is the variance of X, and Var[Y] is the variance of Y; the value range of the correlation is between -1 and +1, that is -1≤r≤1.

相关度判断标准如下:The relevant criteria are as follows:

当│r│=1时,x与y完全相关;When │r│=1, x and y are completely correlated;

当│r│=0时,x与y不相关;When │r│=0, x and y are irrelevant;

当│r│≤0.3时,x与y微弱相关;When │r│≤0.3, x and y are weakly correlated;

当0.3<│r│≤0.5时,x与y低度相关;When 0.3<│r│≤0.5, x and y are highly correlated;

当0.5<│r│≤0.8时,x与y显著相关;When 0.5<│r│≤0.8, x and y are significantly correlated;

当0.8<│r│<1时,x与y高度相关。When 0.8<│r│<1, x and y are highly correlated.

当r为正值时,为正相关,两组数据趋势相同;当r为负值时,为负相关,两组数据趋势相反。本发明实施例中需选取趋势相同数据,定义0.8<r≤1为满足阈值。When r is a positive value, it is a positive correlation, and the two groups of data have the same trend; when r is a negative value, it is a negative correlation, and the two groups of data have opposite trends. In the embodiment of the present invention, data with the same trend needs to be selected, and 0.8<r≤1 is defined as satisfying the threshold.

在一些实施例中,选取的第一历史阶段为过去的一周,将一周分为七个以天为周期的周期。如表1所示:In some embodiments, the selected first historical period is the past week, and the week is divided into seven days-based periods. As shown in Table 1:

表1Table 1

Figure BDA0002863881670000081
Figure BDA0002863881670000081

则获取每天与一周内其他天数的相关度为表2中所示数据:Then the correlation between each day and other days of the week is the data shown in Table 2:

表2Table 2

Figure BDA0002863881670000082
Figure BDA0002863881670000082

Figure BDA0002863881670000091
Figure BDA0002863881670000091

通过图2中所示数据可知选取的第一历史时间段内,每个周期与其他周期的相关度均在80%与100%之间。则得出的模型为正常运行模型。It can be known from the data shown in FIG. 2 that in the selected first historical time period, the correlation between each cycle and other cycles is between 80% and 100%. The resulting model is a normal operating model.

在一些实施例中,将上述表1中数据作为正常运行模型数据,得出预设时间段内的运行数据,若获取的为历史时间段内周二的数据,则将周二的实时数据与上表1中周二的数据进行相关度的计算,计算公式为上述公式。In some embodiments, the data in the above Table 1 is used as the normal operation model data, and the operation data in the preset time period is obtained. If the obtained data is the data of Tuesday in the historical time period, the real-time data of Tuesday is compared with the above table. The data on Tuesday in 1 is used to calculate the correlation, and the calculation formula is the above formula.

S304、确定第一历史时间段内的机柜负载率为机柜正常运行模型,各IT设备负载率为各IT设备的正常运行模型。S304. Determine the rack load rate in the first historical time period as the rack normal operation model, and each IT equipment load rate as the normal operation model of each IT equipment.

S305、获取预设时间段内的机柜负载率和各IT设备负载率。S305. Acquire the load rate of the cabinet and the load rate of each IT equipment within a preset time period.

在一些实施例中,预设时间段为需要监控的时间段。In some embodiments, the preset time period is the time period that needs to be monitored.

S306、确定预设时间段内的机柜负载率与各IT设备负载率是否满足第四预设阈值;若是,则进入步骤S307;若否,则进入步骤S309。S306. Determine whether the load ratio of the rack and the load ratio of each IT equipment within the preset time period meet the fourth preset threshold; if yes, go to step S307; if not, go to step S309.

在一些实施例中,确定预设时间段内的机柜负载率与各IT设备负载率是否满足阈值包括确定预设时间段内的机柜负载率与各IT设备负载率是否大于或等于20%,其中20%可以进行人为设定,此处不做限定。In some embodiments, determining whether the load ratio of the rack and the load ratio of each IT equipment within the preset time period meets a threshold value includes determining whether the load ratio of the cabinet and the load ratio of each IT equipment within the preset time period is greater than or equal to 20%, wherein 20% can be set artificially, which is not limited here.

S307、则确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值是否满足第一预设阈值;若是,则进入步骤S308;若否,则进入步骤S309;S307: Determine whether the difference between the load ratio of the cabinet and the load ratio of each IT equipment and the normal operation model within the preset time period satisfies the first preset threshold; if so, go to step S308; if not, go to step S309 ;

在一些实施例中,确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值是否满足预设阈值获取正常运行模型数据,获取预设时间段内的运行数据,将预设时间段内的机柜负载率和各IT设备负载率与正常运行模型数据中的数据进行相关度计算,判断计算出的相关度是否满足阈值,计算公式为上述公式。In some embodiments, it is determined whether the difference between the load rate of the cabinet and the load rate of each IT equipment and the normal operation model within a preset time period satisfies a preset threshold to obtain normal operation model data, and obtain the operation within the preset time period. Calculate the correlation between the cabinet load rate and each IT equipment load rate within the preset time period and the data in the normal operation model data, and determine whether the calculated correlation meets the threshold. The calculation formula is the above formula.

S308、确定IT设备不存在闲置资源。S308, it is determined that the IT equipment does not have idle resources.

在一些实施例中,确定不存在闲置资源之后,对下一个预设时间中的机柜负载率和各IT设备负载率进行检验,检验步骤与上述步骤相同,此处不再赘述。In some embodiments, after it is determined that there is no idle resource, the load ratio of the rack and the load ratio of each IT equipment in the next preset time are checked. The check steps are the same as the above steps, and are not repeated here.

S309、则确定IT设备存在闲置资源。S309, it is determined that the IT equipment has idle resources.

S310、生成提示信息,提示信息用于提示用户闲置的机柜和IT设备。S310. Generate prompt information, where the prompt information is used to prompt the user of idle cabinets and IT equipment.

在一些实施例中,提示用户闲置的机柜和IT设备包括将生成的提示信息发送至智能终端。In some embodiments, prompting the user of idle racks and IT equipment includes sending the generated prompt information to the smart terminal.

S311、选取第二历史时间段内的机柜负载率与各IT设备的负载率并进入步骤S301。S311. Select the load ratio of the cabinet and the load ratio of each IT equipment in the second historical time period and proceed to step S301.

在一些实施例中,选取第二历史时间段并按照上述步骤对第二历史时间段的数据进行检验,若第二历史时间段内的机柜负载率与各IT设备的负载率满足阈值并且满足相关度阈值,则将第二历史时间段内的数据作为正常运行模型。In some embodiments, a second historical time period is selected and the data of the second historical time period is checked according to the above steps. If the degree threshold is set, the data in the second historical time period is used as the normal operation model.

本发明实施例的闲置资源发现方法能够获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值,根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型,获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值,当所述差值不满足第一预设阈值,确定IT设备存在闲置资源能够对IT机房内闲置资源进行发现。The idle resource discovery method according to the embodiment of the present invention can obtain the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period, wherein the load ratio of the cabinet is the ratio of the real-time power of the cabinet to the rated power of the cabinet, and the load ratio of each IT equipment is the ratio of the real-time power of the cabinet to the rated power of the cabinet. The ratio of the real-time power to the rated power of each IT equipment, according to the rack load rate in the first historical period and the load rate of each IT equipment, establish a normal operation model of the rack and IT equipment, and obtain the rack load rate and each IT equipment in the preset time period. IT equipment load rate, and determine the cabinet load rate within a preset time period and the difference between the IT equipment load rate and the normal operation model, and when the difference does not meet the first preset threshold, determine that the IT equipment is idle Resources can discover idle resources in the IT room.

基于相同的发明构思,本发明实施例提供了一种机柜内闲置资源发现装置。图4是本发明实施例提供的一种机柜内闲置资源发现装置的结构示意图,如图4所示,装置包括:Based on the same inventive concept, an embodiment of the present invention provides a device for discovering idle resources in a cabinet. FIG. 4 is a schematic structural diagram of an apparatus for discovering idle resources in a cabinet according to an embodiment of the present invention. As shown in FIG. 4 , the apparatus includes:

获取模块401用于获取第一历史时间段内的机柜负载率和各IT设备负载率,其中,机柜负载率为机柜实时功率与机柜额定功率的比值,各IT设备负载率为各IT设备实时功率与额定功率的比值;The obtaining module 401 is used to obtain the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period, wherein the load ratio of the cabinet is the ratio of the real-time power of the cabinet to the rated power of the cabinet, and the load ratio of each IT equipment is the real-time power of each IT device. Ratio to rated power;

确定模块402用于根据第一历史时间段内的机柜负载率和各IT设备负载率建立机柜与IT设备的正常运行模型;The determining module 402 is configured to establish a normal operation model of the cabinet and the IT equipment according to the load ratio of the cabinet and the load ratio of each IT equipment in the first historical time period;

确定模块402还用于获取预设时间段内的机柜负载率和各IT设备负载率,并确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值;The determining module 402 is further configured to obtain the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period, and determine the difference between the load ratio of the cabinet and the load ratio of each IT equipment in the preset time period and the normal operation model;

确定模块402还用于当差值不满足预设阈值,确定IT设备存在闲置资源。The determining module 402 is further configured to determine that the IT equipment has idle resources when the difference value does not meet the preset threshold.

在一些实施例中,确定模块402具体用于:In some embodiments, the determining module 402 is specifically configured to:

确定第一历史时间段内机柜负载率与各IT设备的负载率是否满足第二阈值;Determine whether the load ratio of the cabinet and the load ratio of each IT equipment in the first historical period meet the second threshold;

若机柜负载率与各IT设备的负载率均满足阈值,则将第一历史时间段划分为多个周期,并确定每个周期的机柜负载率与各IT设备负载率与第一历史时间段内的其他周期内的内的机柜负载率与各IT设备负载率的相关度是否满足第三预设阈值;If both the rack load rate and the load rate of each IT equipment meet the threshold, the first historical time period is divided into multiple periods, and the rack load rate of each period and the load rate of each IT equipment and the first historical period are determined. Whether the correlation between the load rate of the cabinet and the load rate of each IT equipment in other cycles meets the third preset threshold;

若相关度满足第三预设阈值,则确定第一历史时间段内的机柜负载率为机柜正常运行模型,各IT设备负载率为各IT设备的正常运行模型;If the correlation degree satisfies the third preset threshold, determine that the rack load rate in the first historical time period is the normal operation model of the rack, and the load rate of each IT equipment is the normal operation model of each IT equipment;

若机柜负载率、各IT设备的负载率或相关度不满足对应的阈值,则选取第二历史时间段,并确定第二历史时间段的数据是否满足对应阈值,其中第二历史时间段与第一历史时间段不重叠。If the load rate of the cabinet, the load rate of each IT equipment or the correlation degree does not meet the corresponding threshold, select the second historical time period, and determine whether the data of the second historical time period meets the corresponding threshold, wherein the second historical time period is the same as the first historical time period. A historical time period does not overlap.

在一些实施例中,确定模块402还用于:In some embodiments, the determining module 402 is also used to:

确定预设时间段内的机柜负载率与各IT设备负载率是否满足第四预设阈值;Determine whether the load ratio of the cabinet and the load ratio of each IT equipment within the preset time period meet the fourth preset threshold;

若满足阈值,则确定预设时间段内的机柜负载率和各IT设备负载率与正常运行模型之间的差值;If the threshold is met, determine the load ratio of the cabinet within the preset time period and the difference between the load ratio of each IT equipment and the normal operation model;

在一些实施例中,确定模块402还用于:In some embodiments, the determining module 402 is also used to:

若差值满足第一预设阈值,则确定IT设备不存在闲置资源。If the difference satisfies the first preset threshold, it is determined that the IT equipment does not have idle resources.

在一些实施例中,装置还包括:提示模块,提示模块403用于生成提示信息,提示信息用于提示用户闲置的机柜和IT设备。In some embodiments, the apparatus further includes: a prompt module, where the prompt module 403 is configured to generate prompt information, and the prompt information is used to prompt the user of idle cabinets and IT equipment.

根据本发明实施例的机柜内闲置资源发现装置的其他细节,与以上结合图2至图3所示的实施例描述的机柜内闲置资源发现方法类似,并能达到其相应的技术效果,为简洁描述,在此不再赘述。Other details of the apparatus for discovering idle resources in a cabinet according to an embodiment of the present invention are similar to the method for discovering idle resources in a cabinet described above in conjunction with the embodiments shown in FIGS. 2 to 3 , and can achieve its corresponding technical effects. description, which will not be repeated here.

图5是本发明实施例中机柜内闲置资源发现设备的示例性硬件架构的结构图。FIG. 5 is a structural diagram of an exemplary hardware architecture of an idle resource discovery device in a cabinet according to an embodiment of the present invention.

如图5所示,机柜内闲置资源发现设备500包括输入设备501、输入接口502、中央处理器503、存储器504、输出接口505、以及输出设备504。其中,输入接口502、中央处理器503、存储器504、以及输出接口505通过总线10相互连接,输入设备501和输出设备504分别通过输入接口502和输出接口505与总线510连接,进而与机柜内闲置资源发现设备500的其他组件连接。As shown in FIG. 5 , the idle resource discovery device 500 in the cabinet includes an input device 501 , an input interface 502 , a central processing unit 503 , a memory 504 , an output interface 505 , and an output device 504 . Among them, the input interface 502, the central processing unit 503, the memory 504, and the output interface 505 are connected to each other through the bus 10, and the input device 501 and the output device 504 are connected to the bus 510 through the input interface 502 and the output interface 505 respectively, and then are idle in the cabinet. Other components of the resource discovery device 500 are connected.

具体地,输入设备501接收来自外部的输入信息,并通过输入接口502将输入信息传送到中央处理器503;中央处理器503基于存储器504中存储的计算机可执行指令对输入信息进行处理以生成输出信息,将输出信息临时或者永久地存储在存储器504中,然后通过输出接口505将输出信息传送到输出设备504;输出设备504将输出信息输出到机柜内闲置资源发现设备500的外部供用户使用。Specifically, the input device 501 receives input information from the outside, and transmits the input information to the central processing unit 503 through the input interface 502; the central processing unit 503 processes the input information based on the computer-executable instructions stored in the memory 504 to generate output information, temporarily or permanently store the output information in the memory 504, and then transmit the output information to the output device 504 through the output interface 505; the output device 504 outputs the output information to the outside of the idle resource discovery device 500 in the cabinet for the user to use.

也就是说,图5所示的机柜内闲置资源发现设备也可以被实现为包括:存储有计算机可执行指令的存储器;以及处理器,该处理器在执行计算机可执行指令时可以实现结合图1至图2描述的机柜内闲置资源发现设备的方法。That is, the device for discovering idle resources in a cabinet shown in FIG. 5 can also be implemented to include: a memory storing computer-executable instructions; and a processor, which, when executing the computer-executable instructions, can be implemented in conjunction with FIG. The method for discovering devices in idle resources in a cabinet described in FIG. 2 .

在一个实施例中,图5所示的机柜内闲置资源发现设备500可以被实现为一种设备,该设备可以包括:存储器,用于存储程序;处理器,用于运行存储器中存储的程序,以执行本发明实施例的覆盖率的确定方法。In one embodiment, the device 500 for discovering idle resources in a cabinet shown in FIG. 5 may be implemented as a device, and the device may include: a memory for storing a program; a processor for running the program stored in the memory, To execute the coverage determination method of the embodiment of the present invention.

本发明实施例还提供了一种计算机存储介质,计算机存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现本发明实施例的机柜内闲置资源发现方法。Embodiments of the present invention further provide a computer storage medium, where computer program instructions are stored thereon, and when the computer program instructions are executed by a processor, the method for discovering idle resources in a cabinet according to the embodiment of the present invention is implemented.

需要明确的是,本发明并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本发明的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本发明的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the present invention is not limited to the specific arrangements and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above-described embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the sequence of steps after comprehending the spirit of the present invention.

以上的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本发明的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the above structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, elements of the invention are programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. The code segments may be downloaded via a computer network such as the Internet, an intranet, or the like.

还需要说明的是,本发明中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本发明不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be different from the order in the embodiments, or several steps may be performed simultaneously.

以上,仅为本发明的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。The above are only specific embodiments of the present invention, and those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, modules and units can be referred to in the foregoing method embodiments. The corresponding process is not repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should all cover within the protection scope of the present invention.

Claims (10)

1. A method for discovering idle resources in a cabinet is characterized by comprising the following steps:
acquiring a load rate of a cabinet and load rates of IT equipment in a first historical time period, wherein the load rate of the cabinet is a ratio of real-time power of the cabinet to rated power of the cabinet, and the load rates of the IT equipment are ratios of real-time power of the IT equipment to rated power of the IT equipment;
establishing a normal operation model of the equipment cabinet and the IT equipment according to the load rate of the equipment cabinet and the load rate of each IT equipment in the first historical time period;
acquiring a cabinet load rate and each IT equipment load rate in a preset time period, and determining a difference value between the cabinet load rate and each IT equipment load rate in the preset time period and a normal operation model;
and when the difference value does not meet a first preset threshold value, determining that idle resources exist in the IT equipment.
2. The method of claim 1, wherein modeling normal operation of the rack and the IT equipment comprises:
determining whether the load rate of the cabinet and the load rates of the IT devices in a first historical time period meet a second preset threshold value;
if the load rates of the cabinets and the IT equipment meet a second preset threshold, dividing the first historical time period into a plurality of periods, and determining whether the correlation between the cabinet load rate of each period and the load rates of the IT equipment and the load rates of the cabinets and the IT equipment in other periods in the first historical time period meet a third preset threshold;
if the correlation degree meets a third preset threshold value, determining that the load rate of the cabinet in the first historical time period is a normal operation model of the cabinet, and the load rate of each IT device is a normal operation model of each IT device;
if the load rate of the cabinet, the load rate of each IT device or the correlation degree does not meet the corresponding threshold value, selecting a second historical time period, and determining whether the data of the second historical time period meets the corresponding threshold value, wherein the second historical time period is not overlapped with the first historical time period.
3. The method of claim 1, further comprising:
determining whether the load rate of the equipment cabinet and the load rates of the IT devices in a preset time period meet a fourth preset threshold value;
and if the preset time period meets the threshold value, determining the load rate of the cabinet in the preset time period and the difference value between the load rate of each IT device and the normal operation model.
4. The method of claim 1, further comprising:
and if the difference value meets a first preset threshold value, determining that idle resources do not exist in the IT equipment.
5. The method according to any one of claims 1 to 4, further comprising:
and generating prompt information, wherein the prompt information is used for prompting the idle equipment cabinet and IT equipment of the user.
6. An apparatus for discovering idle resources in a cabinet, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the load rate of a cabinet and the load rate of each IT device in a first historical time period, the load rate of the cabinet is the ratio of the real-time power of the cabinet to the rated power of the cabinet, and the load rate of each IT device is the ratio of the real-time power of each IT device to the rated power;
the determining module is used for establishing a normal operation model of the cabinet and the IT equipment according to the load rate of the cabinet and the load rate of each IT equipment in the first historical time period;
the determining module is further used for acquiring the load rate of the cabinet and the load rate of each IT device in a preset time period, and determining the difference value between the load rate of the cabinet and each IT device in the preset time period and a normal operation model;
and the determining module is further used for determining that idle resources exist in the IT equipment when the difference value does not meet a preset threshold value.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
determining whether the load rate of the cabinet and the load rates of the IT devices in a first historical time period meet a second threshold value;
if the load rates of the cabinets and the IT equipment meet a second preset threshold, dividing the first historical time period into a plurality of periods, and determining whether the correlation between the cabinet load rate of each period and the load rates of the IT equipment and the cabinet load rates and the equipment load rates of other remaining periods in the first historical time period meet a third preset threshold;
if the correlation degree meets a third preset threshold value, determining that the load rate of the cabinet in the first historical time period is a normal operation model of the cabinet, and the load rate of each IT device is a normal operation model of each IT device;
if the load rate of the cabinet, the load rate of each IT device or the correlation degree does not meet the corresponding threshold value, selecting a second historical time period, and determining whether the data of the second historical time period meets the corresponding threshold value, wherein the second historical time period is not overlapped with the first historical time period.
8. The apparatus of claim 6, wherein the determining module is further configured to:
determining whether the load rate of the cabinet and the load rates of the IT devices in a preset time period meet a fourth preset threshold value;
if the preset time period meets the threshold, determining whether the difference value between the load rate of the cabinet and the load rate of each IT device in the preset time period and the normal operation model meets the preset threshold;
and if the threshold value is not met, determining that idle resources exist in the IT equipment.
9. An in-cabinet idle resource discovery apparatus, the apparatus comprising: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the in-cabinet idle resource discovery method of any one of claims 1-5.
10. A computer storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of discovering idle resources in a cabinet as claimed in any one of claims 1 to 5.
CN202011577856.7A 2020-12-28 2020-12-28 Method, device and equipment for discovering idle resources in cabinet and computer storage medium Pending CN114691444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011577856.7A CN114691444A (en) 2020-12-28 2020-12-28 Method, device and equipment for discovering idle resources in cabinet and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011577856.7A CN114691444A (en) 2020-12-28 2020-12-28 Method, device and equipment for discovering idle resources in cabinet and computer storage medium

Publications (1)

Publication Number Publication Date
CN114691444A true CN114691444A (en) 2022-07-01

Family

ID=82130922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011577856.7A Pending CN114691444A (en) 2020-12-28 2020-12-28 Method, device and equipment for discovering idle resources in cabinet and computer storage medium

Country Status (1)

Country Link
CN (1) CN114691444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118659637A (en) * 2024-08-01 2024-09-17 北京宏光星宇科技发展有限公司 Low-carbon power supply cabinet and energy-saving control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100328849A1 (en) * 2009-06-25 2010-12-30 Ewing Carrel W Power distribution apparatus with input and output power sensing and method of use
US20130232369A1 (en) * 2012-03-01 2013-09-05 Microsoft Corporation Inferred electrical power consumption of computing devices
CN105335219A (en) * 2014-07-08 2016-02-17 阿里巴巴集团控股有限公司 Distribution-based task scheduling method and system
US20170373955A1 (en) * 2016-06-24 2017-12-28 Advanced Micro Devices, Inc. Achieving balanced execution through runtime detection of performance variation
CN109614231A (en) * 2018-12-04 2019-04-12 广东亿迅科技有限公司 Idle server resource discovery method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100328849A1 (en) * 2009-06-25 2010-12-30 Ewing Carrel W Power distribution apparatus with input and output power sensing and method of use
US20130232369A1 (en) * 2012-03-01 2013-09-05 Microsoft Corporation Inferred electrical power consumption of computing devices
CN105335219A (en) * 2014-07-08 2016-02-17 阿里巴巴集团控股有限公司 Distribution-based task scheduling method and system
US20170373955A1 (en) * 2016-06-24 2017-12-28 Advanced Micro Devices, Inc. Achieving balanced execution through runtime detection of performance variation
CN109614231A (en) * 2018-12-04 2019-04-12 广东亿迅科技有限公司 Idle server resource discovery method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118659637A (en) * 2024-08-01 2024-09-17 北京宏光星宇科技发展有限公司 Low-carbon power supply cabinet and energy-saving control method thereof

Similar Documents

Publication Publication Date Title
US11258260B2 (en) Battery optimization control system with data fusion systems and methods
EP3105652B1 (en) Backup power management for computing systems
JP2014527394A (en) System and method for forcing data center power consumption to a specific level by dynamically adjusting equipment usage
KR20140024291A (en) Queuing access to a shared power supply
US20230115009A1 (en) Real-time validation of distributed energy resource device commitments
WO2016105626A1 (en) Forecast for demand of energy
Stanojevic et al. Distributed dynamic speed scaling
Zhang et al. Energy minimization task offloading mechanism with edge-cloud collaboration in IoT networks
CN114691444A (en) Method, device and equipment for discovering idle resources in cabinet and computer storage medium
Zhang et al. A cascading failure model considering operation characteristics of the communication layer
CN118018064A (en) Data transmission method and device based on dual-mode communication
WO2022120959A1 (en) Load balancing multi-service migration method and system based on minimum-cost maximum-flow
CN115622087B (en) Power regulation method, device and equipment for distribution network
CN115441513B (en) Camera adjustment determining method and device suitable for new energy station
CN110908800B (en) Scheduling optimization method based on scheduling entropy in edge cloud collaborative environment
CN115544697A (en) Broadband node position planning method, device, equipment and storage medium
Abdelghany et al. Wholesale electricity pricing in the presence of geographical load balancing
Huang et al. Reliable redundant services placement in federated micro-clouds
Wang et al. Cost minimization in placing service chains for virtualized network functions
Arabas et al. Energy-efficient workload allocation in distributed HPC system
CN118130970B (en) A distribution network fault detection method, device, equipment and storage medium
CN116016537B (en) Method and device for optimizing selection of computing power network resources
Hosoori et al. An adaptive load balancing algorithm with use of cellular automata for computational grid systems
Granell et al. Energy consumption study of network access switches to enhance energy distribution
CN113285527A (en) Method, system, equipment and medium for identifying hierarchical relationship of feeder lines in low-voltage transformer area

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination