技术领域Technical field
本发明涉及功率过载防护技术领域,更具体的说是涉及一种老化室供电线路功率过载防护方法、系统及装置。The present invention relates to the technical field of power overload protection, and more specifically to a power overload protection method, system and device for an aging room power supply line.
背景技术Background technique
当前服务器生产企业中,在服务器组装完毕后,都会将服务器置于老化室中接入诊断老化测试系统进行测试,测试过程中,会对服务器进行压力测试,进行压力测试过程中,服务器功耗会随着压力的增加而增加,一个老化室的功耗情况也会随着服务器老化进程而随之波动,由于老化室的供电能力是固定的,能够提供的功率是固定的,因此,当老化室中的所需功耗高于老化室设计的最大功率时,会触发老化室供电线路的跳闸保护动作,导致所有服务器全部断电,进而影响服务器的正常老化进程。In current server manufacturing companies, after the server is assembled, the server will be placed in the aging room and connected to the diagnostic aging test system for testing. During the test process, the server will be pressure tested. During the stress test process, the power consumption of the server will increase. As the pressure increases, the power consumption of an aging room will also fluctuate with the aging process of the server. Since the power supply capacity of the aging room is fixed, the power it can provide is fixed. Therefore, when the aging room When the required power consumption is higher than the maximum power designed for the aging room, the tripping protection action of the power supply line of the aging room will be triggered, causing all servers to be powered off, thus affecting the normal aging process of the servers.
目前,判定老化室供电线路功率是否过载,通常是根据老化室电表人工巡检方式进行判断。但是,采用人工定时巡检的方式对老化室的电表进行巡视,无法及时发现老化室内服务器总功耗的波动情况,避免老化室供电线路做出跳闸保护动作。At present, determining whether the power supply line of the aging room is overloaded is usually based on manual inspection of the aging room's electricity meter. However, the use of manual scheduled inspections to inspect the electricity meters in the aging room cannot detect the fluctuations in the total power consumption of the servers in the aging room in a timely manner and avoid tripping protection actions for the power supply lines in the aging room.
发明内容Contents of the invention
针对以上问题,本发明的目的在于提供一种老化室供电线路功率过载防护方法、系统及装置,能够对老化室内服务器所需总功耗进行实时地自动化监控,并根据总功耗对老化室供电线路功率过载进行预警。In view of the above problems, the purpose of the present invention is to provide a power overload protection method, system and device for the aging room power supply line, which can automatically monitor the total power consumption required by the aging indoor server in real time, and provide power to the aging room based on the total power consumption. Early warning for line power overload.
本发明为实现上述目的,通过以下技术方案实现:一种老化室供电线路功率过载防护方法,包括:In order to achieve the above objects, the present invention adopts the following technical solutions: a power overload protection method for the power supply line of an aging room, including:
搭建功耗监控服务器,并使功耗监控服务器分别与预设老化测试系统的信息发布网站和待巡检的老化室内的测试服务器建立网络连接;Build a power consumption monitoring server, and establish network connections between the power consumption monitoring server and the information release website of the preset aging test system and the test server in the aging room to be inspected;
为功耗监控服务器部署功耗监控软件;Deploy power monitoring software for the power monitoring server;
通过配置功耗监控软件设定巡视周期;Set the inspection cycle by configuring the power consumption monitoring software;
功耗监控软件到达巡视周期后,通过网络获取待巡检的老化室内的测试服务器的总功耗;After the power consumption monitoring software reaches the inspection cycle, it obtains the total power consumption of the test servers in the aging room to be inspected through the network;
将所述总功耗与预警阈值进行比较,根据比较结果发出过载保护预警。The total power consumption is compared with the warning threshold, and an overload protection warning is issued based on the comparison result.
进一步,所述为功耗监控服务器部署功耗监控软件包括:Further, the deployment of power consumption monitoring software for the power consumption monitoring server includes:
在功耗监控服务器上安装ipmitool工具;Install the ipmitool tool on the power consumption monitoring server;
在功耗监控服务器上部署功耗监控软件和信息提醒软件。Deploy power consumption monitoring software and information reminder software on the power consumption monitoring server.
进一步,所述通过配置功耗监控软件设定巡视周期,包括:Further, setting the inspection cycle by configuring the power consumption monitoring software includes:
通过配置功耗监控软件的配置文件,将巡视周期设定为5分钟,并设定预警阈值。By configuring the configuration file of the power consumption monitoring software, set the patrol cycle to 5 minutes and set the early warning threshold.
进一步,所述通过网络获取待巡检的老化室内的测试服务器的总功耗,包括:Further, obtaining the total power consumption of the test server in the aging room to be inspected through the network includes:
功耗监控软件利用爬虫技术从预设老化测试系统的信息发布网站中获得当前待巡检的老化室中所有测试服务器的BMC的IP地址;The power consumption monitoring software uses crawler technology to obtain the BMC IP addresses of all test servers in the aging room currently to be inspected from the information release website of the preset aging test system;
利用ipmitool工具根据测试服务器的BMC的IP地址进行带外执行,以获得测试服务器的功耗值;Use the ipmitool tool to perform out-of-band execution based on the BMC IP address of the test server to obtain the power consumption value of the test server;
将待巡检的老化室内所有测试服务器轮训一遍后得到所有测试服务器的功耗值,进行累加以得到待巡检的老化室内的测试服务器的总功耗。After all the test servers in the aging room to be inspected are trained in rotation, the power consumption values of all test servers are obtained, and accumulated to obtain the total power consumption of the test servers in the aging room to be inspected.
进一步,将所述总功耗与预警阈值进行比较,根据比较结果发出过载保护预警,包括:Further, the total power consumption is compared with the warning threshold, and an overload protection warning is issued based on the comparison result, including:
判断待巡检的老化室内的测试服务器的总功耗是否达到预警阈值,若是,根据预警阈值的级别确定相应的预警信息;Determine whether the total power consumption of the test servers in the aging room to be inspected reaches the early warning threshold. If so, determine the corresponding early warning information based on the level of the early warning threshold;
将预警信息传递给信息提醒软件,由信息提醒软件向预设移动终端发出过载保护预警短信。The early warning information is transmitted to the information reminder software, and the information reminder software sends an overload protection early warning text message to the preset mobile terminal.
进一步,所述预警阈值包括一级预警阈值、二级预警阈值和三级预警阈值;其中,一级预警阈值为225000W,二级预警阈值为200000W,三级预警阈值为187500W。Further, the early warning threshold includes a first-level early warning threshold, a second-level early warning threshold and a third-level early warning threshold; among which, the first-level early warning threshold is 225000W, the second-level early warning threshold is 200000W, and the third-level early warning threshold is 187500W.
进一步,所述功耗监控软件采用powerscansvr,所述信息提醒软件采用warnsvr。Further, the power consumption monitoring software uses powerscansvr, and the information reminder software uses warnsvr.
相应的,本发明还公开了一种老化室供电线路功率过载防护系统,包括:搭建单元,用于搭建功耗监控服务器,并使功耗监控服务器分别与预设老化测试系统的信息发布网站和待巡检的老化室内的测试服务器建立网络连接;Correspondingly, the present invention also discloses a power overload protection system for the power supply line of the aging room, including: a building unit for building a power consumption monitoring server, and making the power consumption monitoring server communicate with the information release website of the preset aging test system and The test server in the aging room to be inspected establishes a network connection;
部署单元,用于为功耗监控服务器部署功耗监控软件;Deployment unit, used to deploy power consumption monitoring software for the power consumption monitoring server;
配置单元,用于通过配置功耗监控软件设定巡视周期;Configuration unit, used to set the patrol cycle by configuring the power consumption monitoring software;
监测单元,用于功耗监控软件到达巡视周期后,通过网络获取待巡检的老化室内的测试服务器的总功耗;The monitoring unit is used to obtain the total power consumption of the test server in the aging room to be inspected through the network after the power consumption monitoring software reaches the inspection period;
预警单元,用于将所述总功耗与预警阈值进行比较,根据比较结果发出过载保护预警。An early warning unit is used to compare the total power consumption with an early warning threshold, and issue an overload protection early warning based on the comparison result.
进一步,所述监测单元包括:Further, the monitoring unit includes:
地址获取模块,用于通过功耗监控软件利用爬虫技术从预设老化测试系统的信息发布网站中获得当前待巡检的老化室中所有测试服务器的BMC的IP地址;The address acquisition module is used to obtain the BMC IP addresses of all test servers in the aging room currently to be inspected from the information release website of the preset aging test system through power consumption monitoring software and crawler technology;
功耗获取模块,用于利用ipmitool工具根据测试服务器的BMC的IP地址进行带外执行,以获得测试服务器的功耗值;The power consumption acquisition module is used to use the ipmitool tool to perform out-of-band execution based on the IP address of the BMC of the test server to obtain the power consumption value of the test server;
计算模块,用于将待巡检的老化室内所有测试服务器轮训一遍后得到所有测试服务器的功耗值,进行累加以得到待巡检的老化室内的测试服务器的总功耗。The calculation module is used to obtain the power consumption values of all test servers in the aging room to be inspected after one round of training, and accumulate them to obtain the total power consumption of the test servers in the aging room to be inspected.
相应的,本发明公开了一种老化室供电线路功率过载防护装置,包括:Correspondingly, the present invention discloses a power overload protection device for the power supply line of an aging room, which includes:
存储器,用于存储老化室供电线路功率过载防护程序;Memory used to store the power overload protection program for the power supply line of the aging room;
处理器,用于执行所述老化室供电线路功率过载防护程序时实现如上文任一项所述老化室供电线路功率过载防护方法的步骤。A processor, configured to implement the steps of the aging room power supply line power overload protection method as described in any one of the above when executing the aging room power supply line power overload protection program.
对比现有技术,本发明有益效果在于:本发明公开了一种老化室供电线路功率过载防护方法、系统及装置,可以及时有效的发现特定老化室内服务器总功耗的波动情况,避免因为功耗过高导致供电线路跳闸影响整个老化室的服务器测试进度。Compared with the existing technology, the beneficial effects of the present invention are: the present invention discloses a power overload protection method, system and device for the power supply line of an aging room, which can timely and effectively discover the fluctuation of the total power consumption of a specific aging room server, and avoid power overload protection due to power consumption. If it is too high, the power supply line will trip and affect the server test progress of the entire aging room.
本发明在不需要额外增加设备情况下,利用老化室中的待测机器检测老化室内服务器总功耗,实时检测出老化室内总功耗是否超过预警值,为工作人员提供防止线路跳闸的依据。The present invention uses the machine to be tested in the aging room to detect the total power consumption of servers in the aging room without adding additional equipment, and detects in real time whether the total power consumption in the aging room exceeds the warning value, providing workers with a basis for preventing line tripping.
由此可见,本发明与现有技术相比,具有突出的实质性特点和显著的进步,其实施的有益效果也是显而易见的。It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without exerting creative efforts.
附图1是本发明实施例一的方法流程图。Figure 1 is a method flow chart of Embodiment 1 of the present invention.
附图2是本发明实施例二的方法流程图。Figure 2 is a method flow chart of Embodiment 2 of the present invention.
附图3是本发明实施例三的系统结构图。Figure 3 is a system structure diagram of Embodiment 3 of the present invention.
图中,1为搭建单元;2为部署单元;3为配置单元;4为监测单元;5为预警单元;41为地址获取模块;42为功耗获取模块;43为计算模块。In the figure, 1 is the construction unit; 2 is the deployment unit; 3 is the configuration unit; 4 is the monitoring unit; 5 is the early warning unit; 41 is the address acquisition module; 42 is the power consumption acquisition module; 43 is the calculation module.
具体实施方式Detailed ways
本发明的核心是提供一种老化室供电线路功率过载防护方法,现有技术中,判定老化室供电线路功率是否过载,通常是根据老化室电表人工巡检方式进行判断。但是,采用人工定时巡检的方式对老化室的电表进行巡视,无法及时发现老化室内服务器总功耗的波动情况,避免老化室供电线路做出跳闸保护动作。The core of the present invention is to provide a power overload protection method for the aging room power supply line. In the existing technology, determining whether the aging room power supply line power is overloaded is usually based on manual inspection of the aging room electricity meter. However, the use of manual scheduled inspections to inspect the electricity meters in the aging room cannot detect the fluctuations in the total power consumption of the servers in the aging room in a timely manner and avoid tripping protection actions for the power supply lines in the aging room.
而本发明提供的老化室供电线路功率过载防护方法,首先通过配置功耗监控软件设定巡视周期,功耗监控软件到达巡视周期后,通过网络获取待巡检的老化室内的测试服务器的总功耗。最后,将所述总功耗与预警阈值进行比较,根据比较结果发出过载保护预警告知相关工作人员针对老化室内部分机器进行暂停测试,或者调整到其他老化室进行测试,避免线路跳闸。由此可见,本发明利用老化室中的待测机器检测老化室内服务器总功耗,实时检测出老化室内总功耗是否超过预警值,为工作人员提供防止线路跳闸的依据。In the aging room power supply line power overload protection method provided by the present invention, the inspection cycle is first set by configuring the power consumption monitoring software. After the power consumption monitoring software reaches the inspection cycle, the total power of the test server in the aging room to be inspected is obtained through the network. Consumption. Finally, the total power consumption is compared with the early warning threshold, and an overload protection warning is issued based on the comparison result to notify relevant staff to suspend testing of some machines in the aging room, or to adjust to other aging rooms for testing to avoid line tripping. It can be seen that the present invention uses the machine to be tested in the aging room to detect the total power consumption of the server in the aging room, and detects in real time whether the total power consumption in the aging room exceeds the warning value, providing workers with a basis for preventing line tripping.
为了使本技术领域的人员更好地理解本发明方案,对本发明涉及的名词解释如下:In order to enable those skilled in the art to better understand the solution of the present invention, the terms involved in the present invention are explained as follows:
老化室:组装完毕的服务器进行诊断老化测试的房间。Aging room: A room where assembled servers undergo diagnostic aging testing.
诊断老化测试系统:针对服务器进行诊断测试的系统,待诊断的服务器需连入诊断老化测试网内,而且是将网口和BMC管理口都连入诊断老化系统网络中。Diagnostic aging test system: A system that performs diagnostic testing on servers. The server to be diagnosed needs to be connected to the diagnostic aging test network, and both the network port and the BMC management port must be connected to the diagnostic aging system network.
BMC与IPMI:基板管理控制器与智能型平台管理接口,是服务器的基本核心功能子系统,负责服务器的硬件状态管理、操作系统管理、健康状态管理、功耗管理等核心功能。比如通过监视系统的温度,电压,风扇、电源等等,并做相应的调节工作,以保证系统处于健康的状态。BMC and IPMI: Baseboard management controller and intelligent platform management interface are the basic core functional subsystems of the server and are responsible for the server's core functions such as hardware status management, operating system management, health status management, and power consumption management. For example, by monitoring the system's temperature, voltage, fan, power supply, etc., and making corresponding adjustments to ensure that the system is in a healthy state.
ipmitool:是一种可用在linux系统下的命令行方式的ipmi平台管理工具,它支持ipmi 1.5规范(最新的规范为ipmi 2.0),通过它可以实现获取传感器的信息、显示系统日志内容、网络远程开关机等功能。ipmitool: It is a command line ipmi platform management tool that can be used under Linux systems. It supports the ipmi 1.5 specification (the latest specification is ipmi 2.0). Through it, you can obtain sensor information, display system log content, and network remote On/off and other functions.
诊断老化测试系统对外信息发布网站:该网站对外展示了目前在老化室内各个测试机器的所在位置,以及收集到测试机器连入诊断网络后的IP和BMC管理口的IP等信息。Diagnostic aging test system external information release website: This website displays the current location of each test machine in the aging room, as well as collected information such as the IP of the test machine after it is connected to the diagnostic network and the IP of the BMC management port.
下面结合附图和具体实施方式对本发明作进一步的详细说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
实施例一:Example 1:
如图1所示,本实施例提供了一种老化室供电线路功率过载防护方法,包括如下步骤:As shown in Figure 1, this embodiment provides a power overload protection method for the power supply line of an aging room, which includes the following steps:
S1:搭建功耗监控服务器,并使功耗监控服务器分别与预设老化测试系统的信息发布网站和待巡检的老化室内的测试服务器建立网络连接。S1: Build a power consumption monitoring server, and establish network connections between the power consumption monitoring server and the information publishing website of the preset aging test system and the test server in the aging room to be inspected.
S2:为功耗监控服务器部署功耗监控软件。S2: Deploy power monitoring software for the power monitoring server.
具体包括:在功耗监控服务器上安装ipmitool工具;在功耗监控服务器上部署功耗监控软件和信息提醒软件。功耗监控软件采用powerscansvr,所述信息提醒软件采用warnsvr。Specifically, it includes: installing the ipmitool tool on the power consumption monitoring server; deploying power consumption monitoring software and information reminder software on the power consumption monitoring server. The power consumption monitoring software uses powerscansvr, and the information reminder software uses warnsvr.
S3:通过配置功耗监控软件设定巡视周期。S3: Set the inspection cycle by configuring the power consumption monitoring software.
通过配置功耗监控软件的配置文件,将巡视周期设定为5分钟,并设定预警阈值。具体的,预警阈值包括一级预警阈值、二级预警阈值和三级预警阈值;其中,一级预警阈值为225000W,二级预警阈值为200000W,三级预警阈值为187500W。By configuring the configuration file of the power consumption monitoring software, set the patrol cycle to 5 minutes and set the early warning threshold. Specifically, the early warning thresholds include the first-level early warning threshold, the second-level early warning threshold and the third-level early warning threshold; among them, the first-level early warning threshold is 225000W, the second-level early warning threshold is 200000W, and the third-level early warning threshold is 187500W.
S4:功耗监控软件到达巡视周期后,通过网络获取待巡检的老化室内的测试服务器的总功耗。S4: After the power consumption monitoring software reaches the inspection cycle, it obtains the total power consumption of the test server in the aging room to be inspected through the network.
功耗监控软件到达巡视周期后,功耗监控软件先利用爬虫技术从预设老化测试系统的信息发布网站中获得当前待巡检的老化室中所有测试服务器的BMC的IP地址。然后利用ipmitool工具根据测试服务器的BMC的IP地址进行带外执行,以获得测试服务器的功耗值;最后将待巡检的老化室内所有测试服务器轮训一遍后得到所有测试服务器的功耗值,进行累加以得到待巡检的老化室内的测试服务器的总功耗。After the power consumption monitoring software reaches the inspection cycle, the power consumption monitoring software first uses crawler technology to obtain the BMC IP addresses of all test servers in the aging room currently to be inspected from the information release website of the preset aging test system. Then use the ipmitool tool to perform out-of-band execution based on the BMC IP address of the test server to obtain the power consumption value of the test server; finally, all test servers in the aging room to be inspected are rotated to obtain the power consumption value of all test servers. Accumulate to obtain the total power consumption of the test servers in the aging room to be inspected.
S5:将所述总功耗与预警阈值进行比较,根据比较结果发出过载保护预警。S5: Compare the total power consumption with the warning threshold, and issue an overload protection warning based on the comparison result.
本步骤具体包括:判断待巡检的老化室内的测试服务器的总功耗是否达到预警阈值,若是,根据预警阈值的级别确定相应的预警信息;然后将预警信息传递给信息提醒软件,由信息提醒软件向预设移动终端发出过载保护预警短信。This step specifically includes: Determining whether the total power consumption of the test servers in the aging room to be inspected reaches the early warning threshold. If so, determining the corresponding early warning information based on the level of the early warning threshold; then passing the early warning information to the information reminder software, and the information reminder The software sends an overload protection warning message to the preset mobile terminal.
本实施例提供了一种老化室供电线路功率过载防护方法,能够及时有效的发现特定老化室内服务器总功耗的波动情况,实时检测出老化室内总功耗是否超过预警值,为工作人员提供防止线路跳闸的依据,避免因为功耗过高导致供电线路跳闸影响整个老化室的服务器测试进度。This embodiment provides a power overload protection method for the power supply line in an aging room, which can timely and effectively discover the fluctuation of the total power consumption of servers in a specific aging room, detect in real time whether the total power consumption in the aging room exceeds the warning value, and provide prevention for staff. The basis for line tripping is to avoid power supply line tripping due to excessive power consumption and affecting the server test progress of the entire aging room.
实施例二:Example 2:
基于实施例一,如图2所示,本发明还公开了一种老化室供电线路功率过载防护方法,具体包括如下步骤:Based on Embodiment 1, as shown in Figure 2, the present invention also discloses a power overload protection method for the power supply line of an aging room, which specifically includes the following steps:
步骤一:搭建1台功耗监控服务器,该服务器的网络配置是能够通过连接诊断老化测试系统连接测试服务器,能够正常访问老化测试系统对外发布信息的网站。Step 1: Set up a power consumption monitoring server. The network configuration of the server is such that it can connect to the test server by connecting to the diagnostic aging test system, and can normally access the website where the aging test system publishes information.
步骤二:安装ipmitool工具。Step 2: Install the ipmitool tool.
步骤三:在功耗监控服务器上部署功耗监控软件(powerscansvr),信息提醒软件(warnsvr)。Step 3: Deploy power monitoring software (powerscansvr) and information reminder software (warnsvr) on the power monitoring server.
步骤四:配置功耗监控软件的配置文件,并在该文件中描述巡视间隔。巡视间隔设定为5分钟,并设定预警阈值,预警阈值包括一级预警阈值、二级预警阈值和三级预警阈值;其中,一级预警阈值为225000W,二级预警阈值为200000W,三级预警阈值为187500W。Step 4: Configure the configuration file of the power consumption monitoring software and describe the patrol interval in the file. The patrol interval is set to 5 minutes, and the early warning threshold is set. The early warning threshold includes the first-level early warning threshold, the second-level early warning threshold and the third-level early warning threshold; among them, the first-level early warning threshold is 225000W, the second-level early warning threshold is 200000W, and the third-level early warning threshold is 225000W. The early warning threshold is 187500W.
步骤五:功耗监控软件(powerscansvr)在到达巡视间隔时,会利用爬虫技术从老化测试系统对外发布信息的网站中获得当前需要巡检的老化室中所有测试服务器的BMC的IP地址。Step 5: When the power consumption monitoring software (powerscansvr) reaches the inspection interval, it will use crawler technology to obtain the BMC IP addresses of all test servers in the aging room that currently need to be inspected from the website where the aging test system publishes information.
步骤六:获得完待测服务器BMC的IP信息后。利用ipmitool进行带外执行获得服务器的总功耗数值。Step 6: After obtaining the IP information of the BMC of the server to be tested. Use ipmitool to perform out-of-band execution to obtain the total power consumption of the server.
以K15老化室服务器位置在S08-A07的服务器为例,得到总功耗为702Watts,采用如下命令:ipmitool-I lanplus-H 10.0.114.34-U serveradmin-Pserveradminsdr list|grep-iTotal_Power|awk-F"|"'{print$2}'。Taking the K15 aging room server located at S08-A07 as an example, the total power consumption is 702Watts. Use the following command: ipmitool-I lanplus-H 10.0.114.34-U serveradmin-Pserveradminsdr list|grep-iTotal_Power|awk-F" |"'{print$2}'.
步骤七:将老化室内服务器轮训一遍后得到所有服务器的功耗值,进行累加即可得到该老化室内所有服务器的总功耗。Step 7: After rotating the aging indoor servers, the power consumption values of all servers are obtained. By adding them up, the total power consumption of all servers in the aging indoors can be obtained.
步骤八:将计算所得的老化室所有服务器的总功耗与预警阈值进行比较,达到触发预警阈值后,会进行达到的级别进行预警。将预警信息传递给信息提醒软件(warnsvr),由信息提醒软件发短信告知相关工作人员针对老化室内部分服务器暂停测试,或者调整到其他老化室进行测试,避免线路跳闸。Step 8: Compare the calculated total power consumption of all servers in the aging room with the warning threshold. When the warning threshold is reached, a warning will be issued at the level reached. The early warning information is transmitted to the information reminder software (warnsvr), which sends a text message to inform relevant staff to suspend testing of some servers in the aging room, or to adjust to other aging rooms for testing to avoid line tripping.
本实施例提供了一种老化室供电线路功率过载防护方法,能够及时有效的发现特定老化室内服务器总功耗的波动情况,实时检测出老化室内总功耗是否超过预警值,为工作人员提供防止线路跳闸的依据,避免因为功耗过高导致供电线路跳闸影响整个老化室的服务器测试进度。This embodiment provides a power overload protection method for the power supply line in an aging room, which can timely and effectively discover the fluctuation of the total power consumption of servers in a specific aging room, detect in real time whether the total power consumption in the aging room exceeds the warning value, and provide prevention for staff. The basis for line tripping is to avoid power supply line tripping due to excessive power consumption and affecting the server test progress of the entire aging room.
实施例三:Embodiment three:
基于实施例一,如图3所示,本发明还公开了一种老化室供电线路功率过载防护系统,包括:搭建单元1、部署单元2、配置单元3、监测单元4和预警单元5。Based on Embodiment 1, as shown in Figure 3, the present invention also discloses an aging room power supply line power overload protection system, including: a construction unit 1, a deployment unit 2, a configuration unit 3, a monitoring unit 4 and an early warning unit 5.
搭建单元1,用于搭建功耗监控服务器,并使功耗监控服务器分别与预设老化测试系统的信息发布网站和待巡检的老化室内的测试服务器建立网络连接。Building unit 1 is used to build a power consumption monitoring server, and enable the power consumption monitoring server to establish network connections with the information release website of the preset aging test system and the test server in the aging room to be inspected.
部署单元2,用于为功耗监控服务器部署功耗监控软件。部署单元2具体用于:在功耗监控服务器上安装ipmitool工具;在功耗监控服务器上部署功耗监控软件和信息提醒软件。Deployment unit 2 is used to deploy power consumption monitoring software for the power consumption monitoring server. Deployment unit 2 is specifically used to: install the ipmitool tool on the power consumption monitoring server; deploy power consumption monitoring software and information reminder software on the power consumption monitoring server.
配置单元3,用于通过配置功耗监控软件设定巡视周期。配置单元3具体用于:通过配置功耗监控软件的配置文件,将巡视周期设定为5分钟,并设定预警阈值。Configuration unit 3 is used to set the patrol cycle by configuring the power consumption monitoring software. The configuration unit 3 is specifically used to configure the configuration file of the power consumption monitoring software, set the patrol cycle to 5 minutes, and set the early warning threshold.
监测单元4,用于功耗监控软件到达巡视周期后,通过网络获取待巡检的老化室内的测试服务器的总功耗。监测单元4具体包括:地址获取模块41、功耗获取模块42和计算模块43。地址获取模块41,用于通过功耗监控软件利用爬虫技术从预设老化测试系统的信息发布网站中获得当前待巡检的老化室中所有测试服务器的BMC的IP地址;功耗获取模块42,用于利用ipmitool工具根据测试服务器的BMC的IP地址进行带外执行,以获得测试服务器的功耗值;计算模块43,用于将待巡检的老化室内所有测试服务器轮训一遍后得到所有测试服务器的功耗值,进行累加以得到待巡检的老化室内的测试服务器的总功耗。Monitoring unit 4 is used to obtain the total power consumption of the test server in the aging room to be inspected through the network after the power consumption monitoring software reaches the inspection cycle. The monitoring unit 4 specifically includes: an address acquisition module 41 , a power consumption acquisition module 42 and a calculation module 43 . The address acquisition module 41 is used to obtain the BMC IP addresses of all test servers in the aging room currently to be inspected from the information release website of the preset aging test system by using crawler technology through the power consumption monitoring software; the power consumption acquisition module 42, Used to use the ipmitool tool to perform out-of-band execution based on the IP address of the BMC of the test server to obtain the power consumption value of the test server; the calculation module 43 is used to obtain all test servers after rotating all test servers in the aging room to be inspected. The power consumption values are accumulated to obtain the total power consumption of the test servers in the aging room to be inspected.
预警单元5,用于将所述总功耗与预警阈值进行比较,根据比较结果发出过载保护预警。预警单元5具体用于:判断待巡检的老化室内的测试服务器的总功耗是否达到预警阈值,若是,根据预警阈值的级别确定相应的预警信息;并将预警信息传递给信息提醒软件,由信息提醒软件向预设移动终端发出过载保护预警短信。The early warning unit 5 is used to compare the total power consumption with the early warning threshold, and issue an overload protection early warning based on the comparison result. The early warning unit 5 is specifically used to: determine whether the total power consumption of the test server in the aging room to be inspected reaches the early warning threshold; if so, determine the corresponding early warning information according to the level of the early warning threshold; and transmit the early warning information to the information reminder software, which is The information reminder software sends an overload protection early warning text message to the preset mobile terminal.
本实施例提供了一种老化室供电线路功率过载防护系统,能够对老化室内服务器所需总功耗进行实时地自动化监控,并根据总功耗对老化室供电线路功率过载进行预警。This embodiment provides a power overload protection system for the aging room power supply line, which can automatically monitor the total power consumption required by the aging indoor server in real time, and provide an early warning for power overload of the aging room power supply line based on the total power consumption.
实施例四:Embodiment 4:
本实施例公开了一种老化室供电线路功率过载防护装置,包括处理器和存储器;其中,所述处理器执行所述存储器中保存的老化室供电线路功率过载防护程序时实现以下步骤:This embodiment discloses an aging room power supply line power overload protection device, which includes a processor and a memory; wherein the processor implements the following steps when executing the aging room power supply line power overload protection program stored in the memory:
1、搭建功耗监控服务器,并使功耗监控服务器分别与预设老化测试系统的信息发布网站和待巡检的老化室内的测试服务器建立网络连接。1. Set up a power consumption monitoring server, and establish network connections between the power consumption monitoring server and the information release website of the preset aging test system and the test server in the aging room to be inspected.
2、为功耗监控服务器部署功耗监控软件。2. Deploy power monitoring software for the power monitoring server.
3、通过配置功耗监控软件设定巡视周期。3. Set the inspection cycle by configuring the power consumption monitoring software.
4、功耗监控软件到达巡视周期后,通过网络获取待巡检的老化室内的测试服务器的总功耗。4. After the power consumption monitoring software reaches the inspection period, it obtains the total power consumption of the test server in the aging room to be inspected through the network.
5、将所述总功耗与预警阈值进行比较,根据比较结果发出过载保护预警。5. Compare the total power consumption with the warning threshold, and issue an overload protection warning based on the comparison result.
进一步的,本实施例中的老化室供电线路功率过载防护装置,还可以包括:Furthermore, the power overload protection device for the power supply line of the aging room in this embodiment may also include:
输入接口,用于获取外界导入的老化室供电线路功率过载防护程序,并将获取到的老化室供电线路功率过载防护程序保存至所述存储器中,还可以用于获取外界终端设备传输的各种指令和参数,并传输至处理器中,以便处理器利用上述各种指令和参数展开相应的处理。本实施例中,所述输入接口具体可以包括但不限于USB接口、串行接口、语音输入接口、指纹输入接口、硬盘读取接口等。The input interface is used to obtain the aging room power supply line power overload protection program imported from the outside world, and save the obtained aging room power supply line power overload protection program to the memory. It can also be used to obtain various data transmitted by external terminal equipment. Instructions and parameters are transmitted to the processor so that the processor can use the above various instructions and parameters to carry out corresponding processing. In this embodiment, the input interface may specifically include but is not limited to a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, etc.
输出接口,用于将处理器产生的各种数据输出至与其相连的终端设备,以便于与输出接口相连的其他终端设备能够获取到处理器产生的各种数据。本实施例中,所述输出接口具体可以包括但不限于USB接口、串行接口等。The output interface is used to output various data generated by the processor to the terminal device connected to it, so that other terminal devices connected to the output interface can obtain various data generated by the processor. In this embodiment, the output interface may specifically include but is not limited to a USB interface, a serial interface, etc.
通讯单元,用于在老化室供电线路功率过载防护装置和外部服务器之间建立远程通讯连接,以便于老化室供电线路功率过载防护装置能够将镜像文件挂载到外部服务器中。本实施例中,通讯单元具体可以包括但不限于基于无线通讯技术或有线通讯技术的远程通讯单元。The communication unit is used to establish a remote communication connection between the aging room power supply line power overload protection device and the external server, so that the aging room power supply line power overload protection device can mount the image file to the external server. In this embodiment, the communication unit may specifically include, but is not limited to, a remote communication unit based on wireless communication technology or wired communication technology.
键盘,用于获取用户通过实时敲击键帽而输入的各种参数数据或指令。The keyboard is used to obtain various parameter data or instructions input by the user by tapping the keycaps in real time.
显示器,用于运行服务器供电线路短路定位过程的相关信息进行实时显示。The display is used to display relevant information in real time during the short circuit positioning process of the server's power supply line.
鼠标,可以用于协助用户输入数据并简化用户的操作。The mouse can be used to assist users in data input and simplify user operations.
本实施例提供了一种老化室供电线路功率过载防护装置,能够及时有效的发现特定老化室内服务器总功耗的波动情况,实时检测出老化室内总功耗是否超过预警值,为工作人员提供防止线路跳闸的依据,避免因为功耗过高导致供电线路跳闸影响整个老化室的服务器测试进度。This embodiment provides a power overload protection device for the power supply line of an aging room, which can timely and effectively detect the fluctuation of the total power consumption of servers in a specific aging room, detect in real time whether the total power consumption of the aging room exceeds the warning value, and provide preventive measures for the staff. The basis for line tripping is to avoid power supply line tripping due to excessive power consumption and affecting the server test progress of the entire aging room.
综上所述,本发明能够对老化室内服务器所需总功耗进行实时地自动化监控,并根据总功耗对老化室供电线路功率过载进行预警。In summary, the present invention can automatically monitor the total power consumption required by aging indoor servers in real time, and provide an early warning for power overload of the aging room power supply line based on the total power consumption.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的方法而言,由于其与实施例公开的系统相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on its differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple. For relevant details, please refer to the description in the method section.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art may further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. In order to clearly illustrate the possible functions of hardware and software, Interchangeability, in the above description, the composition and steps of each example have been generally described according to functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered to be beyond the scope of the present invention.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统、系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of the system or unit, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。In addition, each functional module in various embodiments of the present invention can be integrated into a processing unit, or each module can exist physically alone, or two or more modules can be integrated into one unit.
同理,在本发明各个实施例中的各处理单元可以集成在一个功能模块中,也可以是各个处理单元物理存在,也可以两个或两个以上处理单元集成在一个功能模块中。Similarly, each processing unit in various embodiments of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly in hardware, in software modules executed by a processor, or in a combination of both. Software modules may be located in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or anywhere in the field of technology. any other known form of storage media.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that in this article, 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 that these entities or any such actual relationship or sequence between operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.
以上对本发明所提供的老化室供电线路功率过载防护方法、系统及装置进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The power overload protection method, system and device of the aging room power supply line provided by the present invention have been introduced in detail above. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and the core idea of the present invention. It should be noted that those skilled in the art can make several improvements and modifications to the present invention without departing from the principles of the present invention, and these improvements and modifications also fall within the scope of the claims of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111424945.2ACN114116395B (en) | 2021-11-26 | 2021-11-26 | An aging room power supply line power overload protection method, system and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111424945.2ACN114116395B (en) | 2021-11-26 | 2021-11-26 | An aging room power supply line power overload protection method, system and device |
| Publication Number | Publication Date |
|---|---|
| CN114116395A CN114116395A (en) | 2022-03-01 |
| CN114116395Btrue CN114116395B (en) | 2023-11-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111424945.2AActiveCN114116395B (en) | 2021-11-26 | 2021-11-26 | An aging room power supply line power overload protection method, system and device |
| Country | Link |
|---|---|
| CN (1) | CN114116395B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101277200A (en)* | 2007-03-30 | 2008-10-01 | 联想(北京)有限公司 | Method and device for managing multiserver power supply |
| CN103138945A (en)* | 2011-11-28 | 2013-06-05 | 英业达科技有限公司 | Server rack system for managing power supply |
| CN103200050A (en)* | 2013-04-12 | 2013-07-10 | 北京百度网讯科技有限公司 | Server hardware state monitoring method and server hardware state monitoring system |
| CN103338704A (en)* | 2012-01-25 | 2013-10-02 | 株式会社东芝 | Medical device, medical system, server device, and power management method |
| CN104995651A (en)* | 2012-12-18 | 2015-10-21 | 三星电子株式会社 | Method and device for managing energy consumption in a home network system |
| CN106406500A (en)* | 2016-09-29 | 2017-02-15 | 郑州云海信息技术有限公司 | Method and system for controlling power consumption of servers in whole cabinet |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7783910B2 (en)* | 2007-03-30 | 2010-08-24 | International Business Machines Corporation | Method and system for associating power consumption of a server with a network address assigned to the server |
| CN109240892A (en)* | 2018-10-08 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of method and system of batch monitoring server complete machine state |
| CN110022246A (en)* | 2019-04-15 | 2019-07-16 | 苏州浪潮智能科技有限公司 | Distributed type assemblies equipment power dissipation monitoring method, device, system and associated component |
| CN111581043A (en)* | 2019-07-29 | 2020-08-25 | 新华三信息技术有限公司 | Monitoring method, device and server for server power consumption |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101277200A (en)* | 2007-03-30 | 2008-10-01 | 联想(北京)有限公司 | Method and device for managing multiserver power supply |
| CN103138945A (en)* | 2011-11-28 | 2013-06-05 | 英业达科技有限公司 | Server rack system for managing power supply |
| CN103338704A (en)* | 2012-01-25 | 2013-10-02 | 株式会社东芝 | Medical device, medical system, server device, and power management method |
| CN104995651A (en)* | 2012-12-18 | 2015-10-21 | 三星电子株式会社 | Method and device for managing energy consumption in a home network system |
| CN103200050A (en)* | 2013-04-12 | 2013-07-10 | 北京百度网讯科技有限公司 | Server hardware state monitoring method and server hardware state monitoring system |
| CN106406500A (en)* | 2016-09-29 | 2017-02-15 | 郑州云海信息技术有限公司 | Method and system for controlling power consumption of servers in whole cabinet |
| Publication number | Publication date |
|---|---|
| CN114116395A (en) | 2022-03-01 |
| Publication | Publication Date | Title |
|---|---|---|
| CN112286709B (en) | A kind of server hardware fault diagnosis method, diagnosis device and diagnosis equipment | |
| CN107145410A (en) | After a kind of system exception power down it is automatic on establish the method, system and equipment of machine by cable | |
| CN113032218B (en) | A server fault detection method, system and computer-readable storage medium | |
| CN107943637A (en) | A kind of mains cycle test device and method based on IPMI platforms | |
| CN109040277A (en) | A kind of long-distance monitoring method and device of server | |
| CN106445754A (en) | Method and system for inspecting cluster health status and cluster server | |
| CN105633903A (en) | Electric device, electric system and terminal device having fault monitoring function | |
| CN106407059A (en) | Server node testing system and method | |
| CN207782829U (en) | The diagnostic device of PROFIBUS-DP communication networks | |
| CN110739637A (en) | A transmission line monitoring method, system, terminal and storage medium | |
| CN114490213A (en) | Method, system, device and storage medium for monitoring and diagnosing computer mainboard faults | |
| CN115827358A (en) | Automatic test system, method and device for PFR function and storage medium | |
| CN114993564A (en) | Liquid leakage detection management method, device and system | |
| CN108363477A (en) | Server power-up state monitors system and method, computer storage and equipment | |
| CN117895651A (en) | A method and device for detecting household energy storage system | |
| CN115543679B (en) | Liquid leakage detection line detection method, system, device, server and electronic equipment | |
| CN108287774A (en) | A kind of method for diagnosing faults of server, device, equipment and storage medium | |
| JP2025085667A (en) | Battery data management system and related methods | |
| CN114116395B (en) | An aging room power supply line power overload protection method, system and device | |
| CN106899436A (en) | A kind of cloud platform failure predication diagnostic system | |
| CN115934453A (en) | Troubleshooting method, troubleshooting device and storage medium | |
| CN114509716A (en) | Electric energy meter performance detection method, device and equipment and computer readable storage medium | |
| CN108304290A (en) | Server power-up state monitors system and method, computer storage and equipment | |
| CN108399116A (en) | A kind of server power-up state monitoring system and method | |
| TW202014894A (en) | Monitoring system and method |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address | Address after:215100 Building 9, No.1 guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Patentee after:Suzhou Yuannao Intelligent Technology Co.,Ltd. Country or region after:China Address before:215100 Building 9, No.1 guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Patentee before:SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Country or region before:China |