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

By acquiring and comparing the load rate data of cabinets and IT equipment and establishing a normal operation model, the problem of difficulty in discovering idle resources in IT rooms is solved, and efficient resource utilization and effective power conservation are achieved.

CN114691444BActive Publication Date: 2025-04-25CHINA MOBILE INFORMATION TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011577856.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-28
Publication Date
2025-04-25
Estimated Expiration
2040-12-28

AI Technical Summary

Technical Problem

It is difficult for the prior art to effectively discover idle resources in cabinets in IT computer rooms, especially when IT monitoring and management are not fully covered.

Method used

By obtaining the cabinet load rate and IT equipment load rate in the historical time period, establishing a normal operation model, and comparing the difference between the load rate and the model within the preset time period. If the difference does not meet the preset threshold, it is determined that there are idle resources.

Benefits of technology

It has achieved effective discovery of idle resources in the IT computer room, improved resource utilization, and reduced power waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691444B_ABST
    Figure CN114691444B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device, equipment and computer storage medium for discovering idle resources in a cabinet. The cabinet load rate and the load rate of each IT device in a first historical time period are obtained, wherein the cabinet load rate is the ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is the ratio of the real-time power of each IT device to the rated power. A normal operating model of the cabinet and IT equipment is established according to the cabinet load rate and the load rate of each IT device in the first historical time period, the cabinet load rate and the load rate of each IT device in a preset time period are obtained, and the difference between the cabinet load rate and the load rate of each IT device in the preset time period and the normal operating model is determined. When the difference does not meet the first preset threshold, it is determined that there are idle resources in the IT equipment, and the idle resources in the IT computer room can be discovered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present 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 Art

[0002] At present, the main method for discovering idle IT resources in data center organizations is through monitoring the IT resources themselves. This monitoring method mainly includes two methods. One is to directly monitor IT resources to obtain information such as utilization and performance of IT resources. When the server resource usage is lower than the set threshold within a set period, the server is judged to be an idle IT resource. Another method is to check the upstream traffic or user access information of each server from the IT management system, virtualization system, load distribution system and other systems. When the traffic or user access volume is lower than the set threshold for a long time within a set period, the server is judged to be an idle IT resource. However, the above methods cannot discover idle resources in the IT computer room cabinet when IT monitoring management is not fully covered. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, equipment and computer storage medium for discovering idle resources in a cabinet, which can discover idle resources in an IT computer room.

[0004] In a first aspect, an embodiment of the present invention provides a method for discovering idle resources in a cabinet, the method comprising:

[0005] Obtaining a cabinet load rate and a load rate of each IT device in a first historical time period, wherein the cabinet load rate is a ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is a ratio of the real-time power of each IT device to the rated power;

[0006] Establishing a normal operation model of the cabinet and IT equipment according to the cabinet load rate and the load rate of each IT equipment in the first historical time period;

[0007] Obtaining the cabinet load rate and the load rate of each IT device within a preset time period, and determining whether the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model meets a preset threshold;

[0008] If the difference does not meet the preset threshold, it is determined that there are idle resources in the IT equipment.

[0009] In an optional implementation, establishing a normal operation model of the cabinet and IT equipment includes: determining whether the cabinet load rate and the load rate of each IT equipment meet a threshold;

[0010] If the cabinet load rate and the load rate of each IT device both meet the threshold, the first historical time period is divided into a plurality of periods, and it is determined whether the correlation between the cabinet load rate and the load rate of each IT device in each period and the remaining periods in the first historical time period meets the threshold;

[0011] If the correlation meets the threshold, the cabinet load rate in the first historical time period is determined to be a normal operating model of the cabinet, and the load rate of each IT device is a normal operating model of each IT device;

[0012] If the cabinet load rate, the load rate of each IT device or the correlation 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.

[0013] In an optional implementation manner, before determining the difference between the cabinet load rate and the load rate of each IT device within a preset time period and the normal operation model, the method includes:

[0014] Determine whether the cabinet load rate and the load rate of each IT device within a preset time period meet the threshold;

[0015] If the threshold is met, determining whether the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model meets the preset threshold;

[0016] If the threshold is not met, it is determined that there are idle resources in the IT equipment.

[0017] In an optional embodiment, the method further includes:

[0018] If the difference meets the preset threshold, it is determined that there are no idle resources in the IT equipment.

[0019] In an optional embodiment, the method further includes:

[0020] Generates prompt information, which is used to remind users of idle cabinets and IT equipment.

[0021] In a second aspect, an embodiment of the present invention provides an idle resource discovery device in a cabinet, the device comprising:

[0022] An acquisition module, used to acquire a cabinet load rate and a load rate of each IT device in a first historical time period, wherein the cabinet load rate is a ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is a ratio of the real-time power of each IT device to the rated power;

[0023] A determination module, used to establish a normal operation model of the cabinet and IT equipment according to the cabinet load rate and the load rate of each IT equipment in the first historical time period;

[0024] The determination module is further used to obtain the cabinet load rate and the load rate of each IT device within a preset time period, and determine whether the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model meets the preset threshold;

[0025] The determination module is further configured to determine that idle resources exist in the IT equipment if the difference does not meet a preset threshold.

[0026] In an optional implementation manner, the determination module is specifically configured to:

[0027] Determine whether the cabinet load rate and the load rate of each IT device meet the threshold;

[0028] If the cabinet load rate and the load rate of each IT device both meet the threshold, the first historical time period is divided into a plurality of periods, and it is determined whether the cabinet load rate and the load rate of each IT device in each period have a correlation with the remaining periods in the first historical time period that meets the threshold;

[0029] If the correlation meets the threshold, the cabinet load rate in the first historical time period is determined to be a normal operating model of the cabinet, and the load rate of each IT device is a normal operating model of each IT device;

[0030] If the cabinet load rate, the load rate of each IT device or the correlation 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.

[0031] In an optional implementation manner, the determination module is further configured to:

[0032] Determine whether the cabinet load rate and the load rate of each IT device within a preset time period meet the threshold;

[0033] If the threshold is met, determining whether the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model meets the preset threshold;

[0034] If the threshold is not met, it is determined that there are idle resources in the IT equipment.

[0035] In the third aspect, an embodiment of the present invention provides an idle resource discovery device within a cabinet, the device comprising: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to execute the idle resource discovery method within the cabinet provided by the first aspect or any optional implementation scheme of the first aspect.

[0036] In a fourth aspect, an embodiment of the present invention provides a computer storage medium having computer program instructions stored thereon, which, when executed by a processor, implements the method for discovering idle resources in a cabinet provided by the first aspect or any optional implementation of the first aspect.

[0037] The idle resource discovery method, device, equipment and computer storage medium of the embodiments of the present invention can obtain the cabinet load rate and the load rate of each IT device within a first historical time period, wherein the cabinet load rate is the ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is the ratio of the real-time power of each IT device to the rated power. A normal operating model of the cabinet and IT equipment is established based on the cabinet load rate and the load rate of each IT device within the first historical time period, the cabinet load rate and the load rate of each IT device within a preset time period are obtained, and the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operating model is determined. When the difference does not meet the first preset threshold, it is determined that there are idle resources in the IT equipment and the idle resources in the IT computer room can be discovered. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A schematic diagram of a power distribution structure from a row cabinet to a cabinet provided in an embodiment of the present invention;

[0040] Figure 2 It is a flow chart of a method for discovering idle resources in a cabinet provided by an embodiment of the present invention;

[0041] Figure 3 It is a flowchart of another method for discovering idle resources in a cabinet provided by an embodiment of the present invention;

[0042] Figure 4 It is a structural schematic diagram of an idle resource discovery device in a cabinet provided by an embodiment of the present invention;

[0043] Figure 5 It 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 DESCRIPTION

[0044] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present invention, rather than to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

[0045] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0046] First, for ease of understanding, the following part of the embodiments of the present invention first explains the application scenarios of the present invention and related technical terms in the present invention.

[0047] At present, PUE is a widely accepted and adopted indicator for measuring the energy efficiency of data center infrastructure in data centers at home and abroad. Its calculation formula is: PUE = total power consumption of data center / power consumption of IT equipment, where "total power consumption of data center" is the sum of all power consumption to maintain the normal operation of the data center, including the power consumption of IT equipment, refrigeration equipment, power supply and distribution system and other facilities. In the data center, only the power consumption of IT equipment is considered to be "meaningful" electricity. The actual meaning of PUE is to calculate how much of the total power provided 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.

[0048] IT equipment mainly includes: (1) Servers, including rack-mounted, blade-mounted and tower-mounted servers; (2) Storage, including disk arrays, storage area networks (SANs) and switch-type storage devices, as well as tape libraries and virtual tape libraries; (3) Networks, including switches, routers, firewalls, virtual private networks (VPNs) and load balancing devices; (4) IT support: mainly including monitoring and management equipment used for operation and maintenance.

[0049] Figure 1 The present invention provides a schematic diagram of a power distribution structure from a row cabinet to a cabinet. Figure 1 As shown: The power of the cabinet is supplied by the header cabinet, and IT equipment is installed in the cabinet.

[0050] In order to solve the problems in the prior art, embodiments of the present invention provide a method, device, equipment and computer storage medium for discovering idle resources in a cabinet.

[0051] The following first introduces the idle resource discovery method in a cabinet provided by an embodiment of the present invention.

[0052] Figure 2 FIG. 1 is a flow chart of a method for discovering idle resources in a cabinet provided by an embodiment of the present invention. Figure 2 As shown, the method may include the following steps:

[0053] S201. Obtain a cabinet load rate and a load rate of each IT device in a first historical time period, wherein the cabinet load rate is a ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is a ratio of the real-time power of each IT device to the rated power.

[0054] In some embodiments, before step S101 , the method further includes obtaining the rated power Pe of the cabinet, the rated power Pm of each IT device, the real-time power Pi of the cabinet, and the real-time power Pit of the IT device.

[0055] In some embodiments, the cabinet load rate is η, and the IT equipment load rate in the cabinet is ηit, then:

[0056] η=Pi / Pe*100%;

[0057] ηit=Pit / Pm*100%.

[0058] S202: Establish a normal operation model of the cabinet and IT equipment according to the cabinet load rate and the load rate of each IT equipment in the first historical time period.

[0059] In some embodiments, the first historical time period includes hours, days, weeks, months, and years.

[0060] S203: Obtain the cabinet load rate and the load rate of each IT device within a preset time period, and determine the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model.

[0061] S204: When the difference does not meet the first preset threshold, determine that there are idle resources in the IT equipment.

[0062] The idle resource discovery method of the embodiment of the present invention can obtain the cabinet load rate and the load rate of each IT device within the first historical time period, wherein the cabinet load rate is the ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is the ratio of the real-time power of each IT device to the rated power. A normal operating model of the cabinet and IT equipment is established based on the cabinet load rate and the load rate of each IT device within the first historical time period, the cabinet load rate and the load rate of each IT device within a preset time period are obtained, and it is determined whether the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operating model meets the preset threshold. If the difference does not meet the preset threshold, it is determined that there are idle resources in the IT equipment and the idle resources in the IT computer room can be discovered.

[0063] Based on the above embodiments of the present invention and combined Figure 3 The idle resource discovery method in the cabinet shown in the figure, the embodiment of the present invention provides a flowchart of another idle resource discovery method in the cabinet. Figure 3 As shown, the steps include:

[0064] S301. Obtain a cabinet load rate and a load rate of each IT device in a first historical time period, wherein the cabinet load rate is a ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is a ratio of the real-time power of each IT device to the rated power.

[0065] S302, determine whether the cabinet load rate and the load rate of each IT device in the first historical time period meet the second preset threshold; if so, proceed to step S303; if not, proceed to step S311.

[0066] In some embodiments, the threshold comprises 20%.

[0067] In some embodiments, determining whether the cabinet load rate and the IT device load rate meet a threshold includes determining whether the cabinet load rate and the IT device load rate are greater than or equal to 20%.

[0068] S303, divide the first historical time period into multiple cycles, and determine whether the correlation between the cabinet load rate and the load rate of each IT device in each cycle and the cabinet load rate and the load rate of each IT device in other cycles within the first historical time period meets the third preset threshold; if so, proceed to step S304; if not, proceed to step S309.

[0069] In some embodiments, the correlation is a statistical indicator used to reflect the closeness of the correlation between variables. The correlation is calculated by the product difference method, which is also based on the deviation of two variables from their respective average values, and the correlation between the two variables is reflected by multiplying the two deviations;

[0070] The formula is defined as follows:

[0071]

[0072] 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 correlation value range is between -1 and +1, that is, -1≤r≤1.

[0073] The relevance judgment criteria are as follows:

[0074] When │r│=1, x is completely correlated with y;

[0075] When │r│=0, x and y are unrelated;

[0076] When │r│≤0.3, x is weakly correlated with y;

[0077] When 0.3<│r│≤0.5, x and y are poorly correlated;

[0078] When 0.5<│r│≤0.8, x and y are significantly correlated;

[0079] When 0.8<│r│<1, x and y are highly correlated.

[0080] When r is positive, it is positive correlation, and the two sets of data have the same trend; when r is negative, it is negative correlation, and the two sets of data have opposite trends. In the embodiment of the present invention, data with the same trend need to be selected, and 0.8<r≤1 is defined as satisfying the threshold.

[0081] In some embodiments, the first historical period selected is the past week, and the week is divided into seven periods with days as the cycle. As shown in Table 1:

[0082] Table 1

[0083]

[0084] Then the correlation between each day and other days of the week is the data shown in Table 2:

[0085] Table 2

[0086]

[0087]

[0088] pass Figure 2 From the data shown in , it can be seen that in the first historical period selected, the correlation between each cycle and other cycles is between 80% and 100%. The resulting model is a normal operation model.

[0089] In some embodiments, the data in Table 1 above is used as normal operation model data to obtain the operation data within a preset time period. If the data obtained is for Tuesday in the historical time period, the real-time data on Tuesday is correlated with the data on Tuesday in Table 1 above, and the calculation formula is the above formula.

[0090] S304: Determine that the cabinet load rate in the first historical time period is a normal operating model of the cabinet, and the load rate of each IT device is a normal operating model of each IT device.

[0091] S305: Obtain the cabinet load rate and the load rate of each IT device within a preset time period.

[0092] In some embodiments, the preset time period is a time period that needs to be monitored.

[0093] S306, determine whether the cabinet load rate and the IT equipment load rate within the preset time period meet the fourth preset threshold; if so, proceed to step S307; if not, proceed to step S309.

[0094] In some embodiments, determining whether the cabinet load rate and the load rate of each IT device within a preset time period meet a threshold includes determining whether the cabinet load rate and the load rate of each IT device within the preset time period are greater than or equal to 20%, where 20% can be set manually and is not limited here.

[0095] S307, determining whether the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model meets the first preset threshold; if so, proceeding to step S308; if not, proceeding to step S309;

[0096] In some embodiments, it is determined whether the difference between the cabinet load rate and the load rate of each IT device within a preset time period and the normal operating model meets the preset threshold, and the normal operating model data is obtained, and the operating data within the preset time period is obtained. The cabinet load rate and the load rate of each IT device within the preset time period are correlated with the data in the normal operating model data, and it is determined whether the calculated correlation meets the threshold. The calculation formula is the above formula.

[0097] S308: Determine whether there are any idle resources in the IT equipment.

[0098] In some embodiments, after determining that there are no idle resources, the cabinet load rate and the load rate of each IT device in the next preset time are checked. The checking steps are the same as the above steps and are not repeated here.

[0099] S309: Determine whether there are idle resources in the IT equipment.

[0100] S310: Generate prompt information, where the prompt information is used to remind users of idle cabinets and IT equipment.

[0101] In some embodiments, prompting a user of idle cabinets and IT equipment includes sending generated prompt information to a smart terminal.

[0102] S311 . Select the cabinet load rate and the load rate of each IT device in the second historical time period and proceed to step S301 .

[0103] 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 cabinet load rate in the second historical time period and the load rate of each IT device meet the threshold and meet the correlation threshold, the data in the second historical time period is used as the normal operating model.

[0104] The idle resource discovery method of the embodiment of the present invention can obtain the cabinet load rate and the load rate of each IT device within a first historical time period, wherein the cabinet load rate is the ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is the ratio of the real-time power of each IT device to the rated power. A normal operating model of the cabinet and IT equipment is established based on the cabinet load rate and the load rate of each IT device within the first historical time period, the cabinet load rate and the load rate of each IT device within a preset time period are obtained, and the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operating model is determined. When the difference does not meet the first preset threshold, it is determined that there are idle resources in the IT equipment and the idle resources in the IT computer room can be discovered.

[0105] Based on the same inventive concept, an embodiment of the present invention provides an idle resource discovery device in a cabinet. Figure 4 is a schematic diagram of the structure of an idle resource discovery device in a cabinet provided by an embodiment of the present invention, such as Figure 4 As shown, the device comprises:

[0106] The acquisition module 401 is used to acquire the cabinet load rate and each IT device load rate in the first historical time period, wherein the cabinet load rate is the ratio of the cabinet real-time power to the cabinet rated power, and the IT device load rate is the ratio of the real-time power of each IT device to the rated power;

[0107] The determination module 402 is used to establish a normal operation model of the cabinet and IT equipment according to the cabinet load rate and the load rate of each IT equipment in the first historical time period;

[0108] The determination module 402 is further used to obtain the cabinet load rate and the load rate of each IT device within a preset time period, and determine the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model;

[0109] The determination module 402 is further configured to determine that idle resources exist in the IT equipment when the difference value does not meet a preset threshold.

[0110] In some embodiments, the determination module 402 is specifically configured to:

[0111] Determine whether the cabinet load rate and the load rate of each IT device in the first historical time period meet a second threshold;

[0112] If the cabinet load rate and the load rate of each IT device both meet the threshold, the first historical time period is divided into a plurality of periods, and it is determined whether the correlation between the cabinet load rate and the load rate of each IT device in each period and the cabinet load rate and the load rate of each IT device in other periods within the first historical time period meets a third preset threshold;

[0113] If the correlation degree meets the third preset threshold, determining that the cabinet load rate in the first historical time period is a normal operating model of the cabinet, and the load rate of each IT device is a normal operating model of each IT device;

[0114] If the cabinet load rate, the load rate of each IT device or the correlation does not meet the corresponding threshold, a second historical time period is selected to determine whether the data of the second historical time period meets the corresponding threshold, wherein the second historical time period does not overlap with the first historical time period.

[0115] In some embodiments, the determination module 402 is further configured to:

[0116] Determine whether the cabinet load rate and each IT equipment load rate within a preset time period meet a fourth preset threshold;

[0117] If the threshold is met, the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model is determined;

[0118] In some embodiments, the determination module 402 is further configured to:

[0119] If the difference satisfies the first preset threshold, it is determined that there are no idle resources in the IT equipment.

[0120] In some embodiments, the device further includes: a prompt module, the prompt module 403 is used to generate prompt information, and the prompt information is used to prompt the user of idle cabinets and IT equipment.

[0121] Other details of the idle resource discovery device in the cabinet according to the embodiment of the present invention are combined with the above Figures 2 to 3 The idle resource discovery method in the cabinet described in the illustrated embodiment is similar and can achieve its corresponding technical effect, which will not be described in detail here for the sake of brevity.

[0122] Figure 5It 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.

[0123] like Figure 5 As shown, 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. The input interface 502, the central processing unit 503, the memory 504, and the output interface 505 are connected to each other through a 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 connected to other components of the idle resource discovery device 500 in the cabinet.

[0124] 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 stores the output information in the memory 504, and then transmits 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 user use.

[0125] That is to say, Figure 5 The idle resource discovery device in the cabinet shown can also be implemented as comprising: a memory storing computer executable instructions; and a processor, which can realize the combination of Figure 1 to Figure 2 A method for discovering devices using idle resources in a cabinet is described.

[0126] In one embodiment, Figure 5 The idle resource discovery device 500 in a cabinet shown may be implemented as a device, which may include: a memory for storing programs; and a processor for running the programs stored in the memory to execute the coverage determination method of the embodiment of the present invention.

[0127] The embodiment of the present invention further provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the idle resource discovery method in the cabinet of the embodiment of the present invention is implemented.

[0128] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above 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 order between the steps after understanding the spirit of the present invention.

[0129] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting 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, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0130] 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 can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0131] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A method for discovering idle resources in a cabinet, characterized in that: include: Obtaining a cabinet load rate and a load rate of each IT device in a first historical time period, wherein the cabinet load rate is a ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is a ratio of the real-time power of each IT device to the rated power; Establishing a normal operation model of the cabinet and IT equipment according to the cabinet load rate and the load rate of each IT equipment in the first historical time period; Obtaining a cabinet load rate and a load rate of each IT device within a preset time period, and determining a difference between the cabinet load rate and the load rate of each IT device within the preset time period and a normal operating model; When the difference does not meet the first preset threshold, determining that there are idle resources in the IT equipment; The step of establishing a normal operation model of the cabinet and IT equipment includes: Determine whether the cabinet load rate and the load rate of each IT device in the first historical time period meet a second preset threshold; If the cabinet load rate and the load rate of each IT device both meet the second preset threshold, the first historical time period is divided into a plurality of periods, and the correlation between the cabinet load rate of each period and the cabinet load rate in other periods within the first historical time period is determined, and whether the correlation between the load rate of each IT device in each period and the load rate of each IT device in other periods within the first historical time period meets the third preset threshold; If the correlation satisfies a third preset threshold, determining that the cabinet load rate in the first historical time period is a normal operating model of the cabinet, and the load rate of each IT device is a normal operating model of each IT device; If the cabinet load rate, the load rate of each IT device or the correlation does not meet the corresponding threshold, a second historical time period is selected to determine whether the data of the second historical time period meets the corresponding threshold, wherein the second historical time period does not overlap with the first historical time period.

2. The method according to claim 1, characterized in that The method further comprises: Determine whether the cabinet load rate and each IT equipment load rate within a preset time period meet a fourth preset threshold; If the threshold is met, the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model is determined.

3. The method according to claim 1, characterized in that The method further comprises: If the difference satisfies a first preset threshold, it is determined that there are no idle resources in the IT equipment.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Prompt information is generated, where the prompt information is used to remind the user of idle cabinets and IT equipment.

5. A device for discovering idle resources in a cabinet, characterized in that: The device comprises: An acquisition module, used to acquire a cabinet load rate and a load rate of each IT device in a first historical time period, wherein the cabinet load rate is a ratio of the cabinet real-time power to the cabinet rated power, and the load rate of each IT device is a ratio of the real-time power of each IT device to the rated power; A determination module, configured to establish a normal operation model of the cabinet and IT equipment according to the cabinet load rate and the load rate of each IT equipment in the first historical time period; The determination module is further used to obtain the cabinet load rate and the load rate of each IT device within a preset time period, and determine the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model; The determination module is further used to determine that idle resources exist in the IT equipment when the difference does not meet a preset threshold; Wherein, the determination module is specifically used for: Determine whether the cabinet load rate and the load rate of each IT device in the first historical time period meet a second threshold; If the cabinet load rate and the load rate of each IT device both meet the second preset threshold, the first historical time period is divided into a plurality of periods, and the correlation between the cabinet load rate of each period and the cabinet load rate in other periods within the first historical time period is determined, and the correlation between the cabinet load rate of each IT device in each period and the cabinet load rate and the load rate of each device in other remaining periods within the first historical time period is determined whether it meets the third preset threshold; If the correlation satisfies a third preset threshold, determining that the cabinet load rate in the first historical time period is a normal operating model of the cabinet, and the load rate of each IT device is a normal operating model of each IT device; If the cabinet load rate, the load rate of each IT device or the correlation does not meet the corresponding threshold, a second historical time period is selected to determine whether the data of the second historical time period meets the corresponding threshold, wherein the second historical time period does not overlap with the first historical time period.

6. The device according to claim 5, characterized in that The determining module is also used for: Determine whether the cabinet load rate and each IT equipment load rate within a preset time period meet a fourth preset threshold; If the threshold is met, determining whether the difference between the cabinet load rate and the load rate of each IT device within the preset time period and the normal operation model meets the preset threshold; If the threshold is not met, it is determined that there are idle resources in the IT equipment.

7. A device for discovering idle resources in a cabinet, characterized in that The device comprises: a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the idle resource discovery method in a cabinet as described in any one of claims 1-4.

8. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the idle resource discovery method in the cabinet as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Distribution-based task scheduling method and system

    CN105335219A

  • Idle server resource discovery method and device, computer device and storage medium

    CN109614231A