CN106598808A - Stability detection method, parameter acquisition method and device - Google Patents

Stability detection method, parameter acquisition method and device Download PDF

Info

Publication number
CN106598808A
CN106598808A CN201611151665.8A CN201611151665A CN106598808A CN 106598808 A CN106598808 A CN 106598808A CN 201611151665 A CN201611151665 A CN 201611151665A CN 106598808 A CN106598808 A CN 106598808A
Authority
CN
China
Prior art keywords
tested
power supply
detected
power
detection
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
CN201611151665.8A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201611151665.8A priority Critical patent/CN106598808A/en
Publication of CN106598808A publication Critical patent/CN106598808A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention provides a stability detection method, a parameter acquisition method and device. The stability detection method comprises the following steps: determining the number of detection times and a time interval; sending a detection instruction corresponding to the number of detection times to a rack management controller to be detected corresponding to at least one power supply to be detected by taking the time interval as a cycle so as to enable the rack management controller to be detected to acquire an operation parameter of the at least one power supply to be detected when receiving the detection instruction at each time; acquiring each operation parameter acquired by the rack management controller to be detected; and determining whether the connection between the rack management controller to be detected and the at least one power supply to be detected is stable according to each operation parameter. The stability detection method can realize automatic detection of the connection stability between the rack management controller and the power supply.

Description

Stability detection method, parameter acquisition method and device
Technical Field
The invention relates to the technical field of computers, in particular to a stability detection method, a parameter acquisition method and a parameter acquisition device.
Background
The RMC (Rack Management Controller) is used as a Management module of the cabinet and is responsible for overall monitoring of the cabinet. The RMC manages the power in the cabinet in addition to managing the nodes within the cabinet.
The RMC manages the power supply on the premise that: the RMC has a stable connection with the power supply. At present, the connection stability between the RMC and the power supply is mainly detected manually, for example, 18 power supplies are in total in a cabinet, the connection relationship between each power supply and the RMC needs to be detected periodically and one by one manually, and then the connection stability between the RMC and the power supply is determined by calculating and analyzing a plurality of detection results manually.
Disclosure of Invention
The embodiment of the invention provides a stability detection method, a parameter acquisition method and a device, which can realize automatic detection of the connection stability of an RMC and a power supply.
In a first aspect, an embodiment of the present invention provides a stability detection method, including:
determining detection times and time intervals;
sending a detection instruction corresponding to the detection times to a cabinet management controller to be detected corresponding to at least one power supply to be detected by taking the time interval as a period, so that the cabinet management controller to be detected collects the operation parameters of the at least one power supply to be detected each time the cabinet management controller to be detected receives the detection instruction;
acquiring each operation parameter acquired by the cabinet management controller to be tested;
and determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to each operating parameter.
Preferably, the first and second electrodes are formed of a metal,
determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable according to each of the operating parameters includes:
for each of the operating parameters, performing A1-A3:
a1: analyzing the operation parameters, judging whether the operation parameters have attribute information corresponding to each power supply to be tested, if so, executing A2, otherwise, reporting an error;
a2: judging whether the attribute information corresponding to each power supply to be tested is arranged according to a preset sequence, if so, executing A3, otherwise, reporting an error;
a3: analyzing attribute information corresponding to each power supply to be tested, determining an in-place state and a power value corresponding to each power supply to be tested, judging whether at least one power value corresponding to the power supply to be tested does not meet a preset standard value according to the in-place state and the power value corresponding to each power supply to be tested, and reporting an error if the power value does not meet the preset standard value;
determining the total error reporting times;
and determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to the total error reporting times.
Preferably, the first and second electrodes are formed of a metal,
the bit state includes a bit and a not bit;
the determining whether at least one power value corresponding to the power source to be tested does not meet a preset standard value according to the in-place state and the power value corresponding to each power source to be tested includes:
for each power supply to be tested, executing:
determining the in-place state of the power supply to be tested;
when the in-place state corresponding to the power supply to be tested is in place, judging whether the power value corresponding to the power supply to be tested is larger than a preset first rated power value, if so, determining that the power value corresponding to the power supply to be tested does not meet a preset standard value;
when the in-place state corresponding to the power source to be detected is not in place, judging whether the power value corresponding to the power source to be detected is equal to a preset second rated power value, if so, determining that the power value corresponding to the power source to be detected meets a preset standard value, otherwise, determining that the power value corresponding to the power source to be detected does not meet the preset standard value.
Preferably, the first and second electrodes are formed of a metal,
the analyzing the attribute information corresponding to each power supply to be tested includes:
determining physical addresses corresponding to the power supplies to be tested respectively according to the attribute information corresponding to the power supplies to be tested;
the error reporting includes:
and when the power value corresponding to at least one power supply to be tested does not meet a preset standard value, determining at least one fault power supply, and outputting the physical address and the power value corresponding to each fault power supply.
Preferably, the first and second electrodes are formed of a metal,
the stability detection method further comprises the following steps: setting a storage path;
sending the storage path to the cabinet management controller to be tested so that the cabinet management controller to be tested stores the operation parameters of the at least one power supply to be tested according to the storage path;
the acquiring each operation parameter collected by the cabinet management controller to be tested includes:
and acquiring each operation parameter acquired by the cabinet management controller to be tested according to the storage path.
In a second aspect, an embodiment of the present invention provides a parameter collecting method, applied to a cabinet management controller, including:
receiving a detection instruction;
and acquiring and providing the operation parameters of at least one power supply to be detected according to the detection instruction.
Preferably, the first and second electrodes are formed of a metal,
after the receiving the detection instruction, further comprising:
receiving a storage path;
the collecting and providing of the operating parameters of at least one power supply to be tested comprises:
and acquiring the operating parameters of the at least one power supply to be tested, and storing the operating parameters of the at least one power supply to be tested according to the storage path.
In a third aspect, an embodiment of the present invention provides a stability detection apparatus, including: the device comprises a detection rule determining unit, a detection rule sending unit, an acquiring unit and a stability determining unit; wherein,
the detection rule determining unit is used for determining the detection times and the time interval;
the detection rule sending unit is configured to send a detection instruction corresponding to the detection times to a to-be-detected cabinet management controller corresponding to at least one external to-be-detected power supply by taking the time interval determined by the detection rule determining unit as a period, so that the external to-be-detected cabinet management controller acquires the operation parameters of the at least one external to-be-detected power supply each time the detection instruction is received;
the acquisition unit is used for acquiring each operation parameter acquired by the external cabinet management controller to be tested;
and the stability determining unit is used for determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to each operating parameter acquired by the acquiring unit.
Preferably, the first and second electrodes are formed of a metal,
the stability determination unit includes: the device comprises a first judgment subunit, a second judgment subunit, a third judgment subunit and a determination subunit; wherein,
the first judging subunit is configured to, for each of the operation parameters acquired by the acquiring unit, execute: analyzing the operation parameters, judging whether attribute information corresponding to each power supply to be detected exists in the operation parameters, if so, triggering the second judgment subunit, otherwise, reporting an error;
the second judging subunit is configured to, when receiving the trigger of the first judging subunit, judge whether the attribute information corresponding to each of the power supplies to be tested is arranged according to a preset sequence, if yes, trigger a third judging subunit, and otherwise report an error;
the third judging subunit is configured to, when receiving the trigger of the second judging subunit, analyze attribute information corresponding to each of the power supplies to be detected, determine an in-place state and a power value corresponding to each of the power supplies to be detected, determine, according to the in-place state and the power value corresponding to each of the power supplies to be detected, whether at least one power value corresponding to the power supply to be detected does not meet a preset standard value, and if so, report an error;
the determining subunit is configured to determine a total error reporting number according to the error reporting numbers of the first determining subunit, the second determining subunit, and the third determining subunit, and determine whether connection between the external cabinet management controller to be tested and the external at least one power supply to be tested is stable according to the total error reporting number.
In a fourth aspect, an embodiment of the present invention provides a rack management controller, including: the device comprises an instruction receiving unit and a parameter acquisition unit; wherein,
the instruction receiving unit is used for receiving a detection instruction sent by an external detection device;
and the parameter acquisition unit is used for acquiring and providing the operating parameters of at least one external power supply to be detected according to the detection instruction received by the instruction receiving unit.
The embodiment of the invention provides a stability detection method, a parameter acquisition method and a device, which are characterized in that detection times and time intervals are firstly determined, and detection instructions corresponding to the detection times are sent to a to-be-detected RMC (Rack management Controller) corresponding to at least one to-be-detected power supply by taking the time intervals as a period, so that the to-be-detected RMC acquires operation parameters of the to-be-detected power supply each time the to-be-detected RMC receives the detection instructions, then each operation parameter acquired by the to-be-detected RMC is acquired, and whether the connection between the to-be-detected RMC and the to-be-detected power supply is stable or not is determined according to each operation parameter. The operation parameters of each power supply to be detected, which are acquired by the RMC to be detected, are automatically acquired, and whether the connection between the RMC to be detected and each power supply to be detected is stable or not is determined according to the operation parameters, so that the connection stability of the RMC and the power supply is automatically detected.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a stability detection method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a parameter collection method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a stability detection method according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a stability detection apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a stability detection apparatus according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a parameter collecting device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a stability detection method, which may include the following steps:
step 101, determining detection times and time intervals;
102, sending a detection instruction corresponding to the detection times to a cabinet management controller to be detected corresponding to at least one power supply to be detected by taking the time interval as a period, so that the cabinet management controller to be detected collects operation parameters of the at least one power supply to be detected each time the cabinet management controller to be detected receives the detection instruction;
103, acquiring each operation parameter acquired by the cabinet management controller to be tested;
and 104, determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to each operating parameter.
In the above embodiment, the detection times and the time interval are determined first, and the detection instruction corresponding to the detection times is sent to the to-be-detected RMC (Rack Management Controller) corresponding to the at least one to-be-detected power supply with the time interval as a period, so that the to-be-detected RMC acquires the operation parameters of the at least one to-be-detected power supply each time the to-be-detected RMC receives the detection instruction, then each operation parameter acquired by the to-be-detected RMC is acquired, and whether the connection between the to-be-detected RMC and the at least one to-be-detected power supply is stable is determined according to each operation parameter. The operation parameters of each power supply to be detected, which are acquired by the RMC to be detected, are automatically acquired, and whether the connection between the RMC to be detected and each power supply to be detected is stable or not is determined according to the operation parameters, so that the connection stability of the RMC and the power supply is automatically detected.
In an embodiment of the present invention, the detailed implementation of step 104 may include:
for each of the operating parameters, performing A1-A3:
a1: analyzing the operation parameters, judging whether the operation parameters have attribute information corresponding to each power supply to be tested, if so, executing A2, otherwise, reporting an error;
a2: judging whether the attribute information corresponding to each power supply to be tested is arranged according to a preset sequence, if so, executing A3, otherwise, reporting an error;
a3: analyzing attribute information corresponding to each power supply to be tested, determining an in-place state and a power value corresponding to each power supply to be tested, judging whether at least one power value corresponding to the power supply to be tested does not meet a preset standard value according to the in-place state and the power value corresponding to each power supply to be tested, and reporting an error if the power value does not meet the preset standard value;
determining the total error reporting times;
and determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to the total error reporting times.
In the above embodiment, for each operation parameter, the attribute information is first analyzed from the operation parameter, and it is determined whether the operation parameter has the attribute information corresponding to each power supply to be tested, and if not, it indicates that the RMC to be tested cannot completely acquire the operation parameter of each power supply to be tested, and further indicates that the connection between the RMC to be tested and the power supply to be tested is unstable, that is, an error is reported.
If so, further judging whether the attribute information corresponding to each power supply to be tested is arranged according to a preset sequence, for example, the preset sequence can be arranged according to the physical address of the power supply slot corresponding to each power supply to be tested, so that when the RMC to be tested collects the operation parameters of each power supply to be tested, the operation parameters of each power supply to be tested are collected according to the preset sequence according to the physical address of the power supply slot corresponding to each power supply to be tested, and if the collected attribute information corresponding to each power supply to be tested is not arranged according to the preset sequence, the connection between the RMC to be tested and the power supply to be tested is not stable, that is, an error is reported.
If the attribute information corresponding to each power supply to be tested is arranged according to the preset sequence, analyzing the attribute information corresponding to each power supply to be tested so as to determine the on-site state and the power value corresponding to each power supply to be tested, judging whether the power value of the power supply to be tested does not meet the preset standard value according to the on-site state and the power value corresponding to each power supply to be tested, and if so, indicating that the connection between the RMC to be tested and the power supply to be tested is unstable, namely, reporting errors.
And determining the total error reporting times according to the error reporting information, and determining whether the connection between the RMC to be tested and each power supply to be tested is stable or not according to the total error reporting times. For example, when the number of detection times is set to 100, the total number of error reports is less than 10, and it can be determined that the connection between the RMC to be detected and each power source to be detected is stable, and thus, whether the connection between the RMC to be detected and each power source to be detected is stable can be determined according to the percentage of the total number of error reports and the number of detection times.
Specifically, in one embodiment of the present invention, the bit status includes a bit and a not-bit;
the determining, according to the in-place state and the power value corresponding to each of the power supplies to be tested, whether there is at least one power value corresponding to the power supply to be tested that does not satisfy a preset standard value may include:
for each power supply to be tested, executing:
determining the in-place state of the power supply to be tested;
when the in-place state corresponding to the power supply to be tested is in place, judging whether the power value corresponding to the power supply to be tested is larger than a preset first rated power value, if so, determining that the power value corresponding to the power supply to be tested does not meet a preset standard value;
when the in-place state corresponding to the power source to be detected is not in place, judging whether the power value corresponding to the power source to be detected is equal to a preset second rated power value, if so, determining that the power value corresponding to the power source to be detected meets a preset standard value, otherwise, determining that the power value corresponding to the power source to be detected does not meet the preset standard value.
In the above embodiment, when the in-place state corresponding to the power source to be tested is in place, it is indicated that the power source to be tested is located in the corresponding power source slot and is connected, at this time, the output power of the power source to be tested needs to be smaller than a preset first rated power value, for example, the first rated power value is the rated power value of the power source, if the output power of the power source to be tested is larger than the rated power of the power source, it is determined that the power value corresponding to the power source to be tested does not meet the preset standard value.
When the in-place state corresponding to the power source to be tested is not in place, it is determined that the power source to be tested is connected, and the output power of the power source to be tested is equal to a second rated power value, for example, the second rated power value is 65535W.
In order to determine a power source to be tested, which is connected to the RMC to be tested unstably, in an embodiment of the present invention, the analyzing attribute information corresponding to each power source to be tested may include:
determining physical addresses corresponding to the power supplies to be tested respectively according to the attribute information corresponding to the power supplies to be tested;
the error reporting may include:
and when the power value corresponding to at least one power supply to be tested does not meet a preset standard value, determining at least one fault power supply, and outputting the physical address and the power value corresponding to each fault power supply.
In the above embodiment, the physical addresses corresponding to the power supplies to be tested are analyzed from the attribute information of the power supplies to be tested, when the power value corresponding to at least one power supply to be tested does not meet the preset standard, it is indicated that the connection between the at least one power supply to be tested and the RMC to be tested is unstable, the at least one power supply to be tested, which is unstable in connection with the RMC to be tested, is determined as the at least one faulty power supply, and the physical addresses and the power values corresponding to the faulty power supplies are output, so that when the later maintenance is facilitated, corresponding measures are taken directly according to the physical addresses and the power values of the.
In order to facilitate obtaining each operation parameter and improve the detection efficiency, in an embodiment of the present invention, the stability detection method may further include: setting a storage path;
sending the storage path to the cabinet management controller to be tested so that the cabinet management controller to be tested stores the operation parameters of the at least one power supply to be tested according to the storage path;
the acquiring each operation parameter collected by the cabinet management controller to be tested includes:
and acquiring each operation parameter acquired by the cabinet management controller to be tested according to the storage path.
In the above embodiment, the storage path is preset, and the storage path is sent to the RMC to be detected, so that the RMC to be detected stores the collected operation parameters of each power supply to be detected according to the storage path, for example, the collected operation parameters are respectively stored in different folders of the designated path according to the storage path, and therefore, when the operation parameters are obtained, the corresponding operation parameters can be directly obtained from the folders of the designated path according to the storage path, so that the process of obtaining each operation parameter is more convenient, and the improvement of the detection efficiency is facilitated.
As shown in fig. 2, an embodiment of the present invention provides a parameter collecting method applied to a cabinet management controller, where the method may include the following steps:
step 201, receiving a detection instruction;
and 202, acquiring and providing the operation parameters of at least one power supply to be detected according to the detection instruction.
In the above embodiment, the RMC receives the detection instruction, and acquires and provides the operation parameters of the at least one power supply to be detected according to the received detection instruction, thereby automatically acquiring the operation parameters of each power supply to be detected, and facilitating automatic detection of the connection stability between the RMC and the power supply.
To more conveniently provide operating parameters, in one embodiment of the invention,
after step 201, it may further include:
receiving a storage path;
specific embodiments of step 202 may include:
and acquiring the operating parameters of the at least one power supply to be tested, and storing the operating parameters of the at least one power supply to be tested according to the storage path.
In the above embodiment, the storage path is received, and the collected operation parameters of each power supply to be tested are stored according to the storage path, for example, according to the storage path, the collected operation parameters at each time are respectively stored in different folders of the designated path, so that the stored operation parameters can be conveniently and quickly extracted.
As shown in fig. 3, an embodiment of the present invention provides a stability detection method, which may include the following steps:
step 301, determining the detection times and time intervals.
The user can autonomously determine the detection times and the time interval in the detection process, so that the autonomy is strong.
Step 302, setting a storage path, and sending the storage path to the RMC to be tested corresponding to at least one power supply to be tested.
Step 303, sending a detection instruction corresponding to the detection times to the RMC to be detected, with the time interval as a period.
Step 304, the RMC to be tested collects the operation parameters of the at least one power supply to be tested each time the detection instruction is received, and stores the operation parameters of each power supply to be tested according to the storage path.
Step 305, obtaining each operation parameter stored by the RMC to be tested according to the storage path.
In steps 302 to 305, a storage path is preset and sent to the RMC to be tested, so that the RMC to be tested stores the acquired operating parameters of each power supply to be tested according to the storage path, for example, the acquired operating parameters are respectively stored in different folders of the designated path according to the storage path, and thus, the corresponding operating parameters can be directly acquired from the folders of the designated path according to the storage path, thereby making the process of acquiring each operating parameter more convenient.
Step 306, for each operating parameter, executing: and analyzing the operating parameters.
307, judging whether the running parameters have attribute information corresponding to each power supply to be tested, if so, executing step 308, otherwise, executing step 313.
In step 306 and step 307, firstly, the attribute information is analyzed from the operation parameters, and it is determined whether the operation parameters include the attribute information corresponding to each power supply to be tested, if not, it indicates that the RMC to be tested cannot completely acquire the operation parameters of each power supply to be tested, and further indicates that the connection between the RMC to be tested and the power supply to be tested is unstable, i.e., an error is reported.
Step 308, determining whether the attribute information corresponding to each power supply to be tested is arranged according to a preset sequence, if so, executing step 309, otherwise, executing step 313.
When attribute information corresponding to each power supply to be tested exists in the operation parameters, whether the attribute information corresponding to each power supply to be tested is arranged according to a preset sequence is further judged, for example, the preset sequence can be arranged according to the physical addresses of the power supply slots corresponding to each power supply to be tested, so that when the operation parameters of each power supply to be tested are collected, the operation parameters of each power supply to be tested are collected according to the preset sequence according to the physical addresses of the power supply slots corresponding to each power supply to be tested, and if the collected attribute information corresponding to each power supply to be tested is not arranged according to the preset sequence, unstable connection between the RMC to be tested and the power supply to be tested is also described, namely error reporting is carried out.
Step 309, analyzing the attribute information corresponding to each power supply to be tested, and determining the in-place state and power value corresponding to each power supply to be tested.
And 310, respectively judging whether each power supply to be tested is in place, if so, executing step 311, otherwise, executing step 312.
And 311, judging whether the power value corresponding to the power supply to be tested is larger than a preset first rated power value, if so, executing 313, otherwise, ending the current process.
When the in-place state corresponding to the power source to be tested is in place, it is indicated that the power source to be tested is located in the corresponding power source slot and communicated, at this time, the output power of the power source to be tested needs to be smaller than a preset first rated power value, for example, the first rated power value is the rated power value of the power source, if the output power of the power source to be tested is larger than the rated power of the power source, it is determined that the power value corresponding to the power source to be tested does not meet the preset standard value, and at this.
Step 312, determining whether the power value corresponding to the power source to be tested is equal to a preset second rated power value, if so, ending the current process, otherwise, executing step 313.
When the in-place state corresponding to the power source to be tested is not in place, it is determined that the power source to be tested is connected, and the output power of the power source to be tested is equal to a second rated power value, for example, the second rated power value is 65535W.
Step 313, reporting error, and adding 1 to the number of error reporting.
Step 314, determining the total error reporting times, and determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable according to the total error reporting times.
For example, when the number of detection times is set to 100, the total number of error reports is less than 10, and it can be determined that the connection between the RMC to be detected and each power source to be detected is stable, and thus, whether the connection between the RMC to be detected and each power source to be detected is stable can be determined according to the percentage of the total number of error reports and the number of detection times.
In the above embodiment, the detection times and the time interval are determined first, and the detection instruction corresponding to the detection times is sent to the to-be-detected RMC corresponding to the at least one to-be-detected power supply with the time interval as a period, so that the to-be-detected RMC acquires the operation parameters of the at least one to-be-detected power supply each time the to-be-detected RMC receives the detection instruction, then each operation parameter acquired by the to-be-detected RMC is acquired, and whether the connection between the to-be-detected RMC and the at least one to-be-detected power supply is. The operation parameters of each power supply to be detected, which are acquired by the RMC to be detected, are automatically acquired, and whether the connection between the RMC to be detected and each power supply to be detected is stable or not is determined according to the operation parameters, so that the connection stability of the RMC and the power supply is automatically detected.
The method in this embodiment can be implemented by at least the following procedures:
as shown in fig. 4, an embodiment of the present invention provides a stability detecting apparatus, which may include: a detection rule determination unit 401, a detection rule transmission unit 402, an acquisition unit 403, and a stability determination unit 404; wherein,
the detection rule determining unit 401 is configured to determine the number of times of detection and a time interval;
the detection rule sending unit 402 is configured to send a detection instruction corresponding to the detection times to an external to-be-detected cabinet management controller corresponding to at least one to-be-detected power supply, with the time interval determined by the detection rule determining unit 401 as a period, so that the external to-be-detected cabinet management controller collects operation parameters of the external to-be-detected power supply each time the external to-be-detected cabinet management controller receives the detection instruction;
the obtaining unit 403 is configured to obtain each of the operation parameters acquired by the external cabinet management controller to be tested;
the stability determining unit 404 is configured to determine whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable according to each of the operation parameters acquired by the acquiring unit 403.
In the above embodiment, the detection times and the time interval are determined first, and the detection instruction corresponding to the detection times is sent to the to-be-detected RMC corresponding to the at least one to-be-detected power supply with the time interval as a period, so that the to-be-detected RMC acquires the operation parameters of the at least one to-be-detected power supply each time the to-be-detected RMC receives the detection instruction, then each operation parameter acquired by the to-be-detected RMC is acquired, and whether the connection between the to-be-detected RMC and the at least one to-be-detected power supply is. The operation parameters of each power supply to be detected, which are acquired by the RMC to be detected, are automatically acquired, and whether the connection between the RMC to be detected and each power supply to be detected is stable or not is determined according to the operation parameters, so that the connection stability of the RMC and the power supply is automatically detected.
As shown in fig. 5, in an embodiment of the present invention, the stability determining unit 404 includes: a first judgment subunit 501, a second judgment subunit 502, a third judgment subunit 503, and a determination subunit 504; wherein,
the first determining subunit 501 is configured to, for each of the operation parameters acquired by the acquiring unit 403, execute: analyzing the operation parameters, judging whether attribute information corresponding to each power supply to be tested exists in the operation parameters, if so, triggering the second judging subunit 502, otherwise, reporting an error;
the second judging subunit 502 is configured to, when receiving the trigger of the first judging subunit 501, judge whether the attribute information corresponding to each of the power supplies to be tested is arranged according to a preset sequence, if yes, trigger the third judging subunit 503, otherwise report an error;
a third determining subunit 503, configured to, when receiving the trigger of the second determining subunit 502, analyze attribute information corresponding to each of the power supplies to be detected, determine an in-place state and a power value corresponding to each of the power supplies to be detected, determine, according to the in-place state and the power value corresponding to each of the power supplies to be detected, whether there is at least one power value corresponding to the power supply to be detected that does not meet a preset standard value, and if so, report an error;
the determining subunit 504 is configured to determine a total error reporting number according to the error reporting numbers of the first determining subunit 501, the second determining subunit 502, and the third determining subunit 503, and determine whether the connection between the external cabinet management controller to be tested and the external at least one power source to be tested is stable according to the total error reporting number.
In the above embodiment, for each operation parameter, the attribute information is first analyzed from the operation parameter, and it is determined whether the operation parameter has the attribute information corresponding to each power supply to be tested, and if not, it indicates that the RMC to be tested cannot completely acquire the operation parameter of each power supply to be tested, and further indicates that the connection between the RMC to be tested and the power supply to be tested is unstable, that is, an error is reported.
If so, further judging whether the attribute information corresponding to each power supply to be tested is arranged according to a preset sequence, for example, the preset sequence can be arranged according to the physical address of the power supply slot corresponding to each power supply to be tested, so that when the RMC to be tested collects the operation parameters of each power supply to be tested, the operation parameters of each power supply to be tested are collected according to the preset sequence according to the physical address of the power supply slot corresponding to each power supply to be tested, and if the collected attribute information corresponding to each power supply to be tested is not arranged according to the preset sequence, the connection between the RMC to be tested and the power supply to be tested is not stable, that is, an error is reported.
If the attribute information corresponding to each power supply to be tested is arranged according to the preset sequence, analyzing the attribute information corresponding to each power supply to be tested so as to determine the on-site state and the power value corresponding to each power supply to be tested, judging whether the power value of the power supply to be tested does not meet the preset standard value according to the on-site state and the power value corresponding to each power supply to be tested, and if so, indicating that the connection between the RMC to be tested and the power supply to be tested is unstable, namely, reporting errors.
And determining the total error reporting times according to the error reporting information, and determining whether the connection between the RMC to be tested and each power supply to be tested is stable or not according to the total error reporting times. For example, when the number of detection times is set to 100, the total number of error reports is less than 10, and it can be determined that the connection between the RMC to be detected and each power source to be detected is stable, and thus, whether the connection between the RMC to be detected and each power source to be detected is stable can be determined according to the percentage of the total number of error reports and the number of detection times.
As shown in fig. 6, an embodiment of the present invention provides a cabinet management controller, which may include: an instruction receiving unit 601 and a parameter acquisition unit 602; wherein,
the instruction receiving unit 601 is configured to receive a detection instruction sent by an external detection device;
the parameter collecting unit 602 is configured to collect and provide an operating parameter of at least one external power source to be tested according to the detection instruction received by the instruction receiving unit 601.
In the above embodiment, the RMC receives the detection instruction, and acquires and provides the operation parameters of the at least one power supply to be detected according to the received detection instruction, thereby automatically acquiring the operation parameters of each power supply to be detected, and facilitating automatic detection of the connection stability between the RMC and the power supply.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
In summary, the embodiments of the present invention have at least the following advantages:
1. in the embodiment of the invention, the detection times and the time interval are firstly determined, and the detection instruction corresponding to the detection times is sent to the to-be-detected RMC corresponding to at least one to-be-detected power supply by taking the time interval as a period, so that the to-be-detected RMC acquires the operation parameters of at least one to-be-detected power supply each time the to-be-detected RMC receives the detection instruction, then each operation parameter acquired by the to-be-detected RMC is acquired, and whether the connection between the to-be-detected RMC and at least one to-be-detected power supply is stable. The operation parameters of each power supply to be detected, which are acquired by the RMC to be detected, are automatically acquired, and whether the connection between the RMC to be detected and each power supply to be detected is stable or not is determined according to the operation parameters, so that the connection stability of the RMC and the power supply is automatically detected.
2. In the embodiment of the invention, the physical addresses corresponding to the power supplies to be detected are analyzed from the attribute information of the power supplies to be detected, when the power value corresponding to at least one power supply to be detected does not meet the preset standard, the condition that the connection between the at least one power supply to be detected and the RMC to be detected is unstable is indicated, the at least one power supply to be detected which is connected with the RMC to be detected and is unstable is determined as at least one fault power supply, and the physical addresses and the power values corresponding to the fault power supplies are output, so that when later maintenance is facilitated, corresponding measures are directly taken according to the physical addresses and the power values of the fault.
3. In the embodiment of the invention, the storage path is preset and sent to the RMC to be detected, so that the RMC to be detected stores the acquired running parameters of each power supply to be detected according to the storage path, for example, the running parameters acquired each time are respectively stored in different folders of the appointed path according to the storage path, therefore, when the running parameters are acquired, the corresponding running parameters can be directly acquired from the folders of the appointed path according to the storage path, so that the process of acquiring each running parameter is more convenient, and the detection efficiency is further improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A stability detection method, comprising:
determining detection times and time intervals;
sending a detection instruction corresponding to the detection times to a cabinet management controller to be detected corresponding to at least one power supply to be detected by taking the time interval as a period, so that the cabinet management controller to be detected collects the operation parameters of the at least one power supply to be detected each time the cabinet management controller to be detected receives the detection instruction;
acquiring each operation parameter acquired by the cabinet management controller to be tested;
and determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to each operating parameter.
2. The detection method according to claim 1,
determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable according to each of the operating parameters includes:
for each of the operating parameters, performing A1-A3:
a1: analyzing the operation parameters, judging whether the operation parameters have attribute information corresponding to each power supply to be tested, if so, executing A2, otherwise, reporting an error;
a2: judging whether the attribute information corresponding to each power supply to be tested is arranged according to a preset sequence, if so, executing A3, otherwise, reporting an error;
a3: analyzing attribute information corresponding to each power supply to be tested, determining an in-place state and a power value corresponding to each power supply to be tested, judging whether at least one power value corresponding to the power supply to be tested does not meet a preset standard value according to the in-place state and the power value corresponding to each power supply to be tested, and reporting an error if the power value does not meet the preset standard value;
determining the total error reporting times;
and determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to the total error reporting times.
3. The detection method according to claim 2,
the bit state includes a bit and a not bit;
the determining whether at least one power value corresponding to the power source to be tested does not meet a preset standard value according to the in-place state and the power value corresponding to each power source to be tested includes:
for each power supply to be tested, executing:
determining the in-place state of the power supply to be tested;
when the in-place state corresponding to the power supply to be tested is in place, judging whether the power value corresponding to the power supply to be tested is larger than a preset first rated power value, if so, determining that the power value corresponding to the power supply to be tested does not meet a preset standard value;
when the in-place state corresponding to the power source to be detected is not in place, judging whether the power value corresponding to the power source to be detected is equal to a preset second rated power value, if so, determining that the power value corresponding to the power source to be detected meets a preset standard value, otherwise, determining that the power value corresponding to the power source to be detected does not meet the preset standard value.
4. The detection method according to claim 2,
the analyzing the attribute information corresponding to each power supply to be tested includes:
determining physical addresses corresponding to the power supplies to be tested respectively according to the attribute information corresponding to the power supplies to be tested;
the error reporting includes:
and when the power value corresponding to at least one power supply to be tested does not meet a preset standard value, determining at least one fault power supply, and outputting the physical address and the power value corresponding to each fault power supply.
5. The detection method according to any one of claims 1 to 4,
further comprising: setting a storage path;
sending the storage path to the cabinet management controller to be tested so that the cabinet management controller to be tested stores the operation parameters of the at least one power supply to be tested according to the storage path;
the acquiring each operation parameter collected by the cabinet management controller to be tested includes:
and acquiring each operation parameter acquired by the cabinet management controller to be tested according to the storage path.
6. A parameter acquisition method is applied to a cabinet management controller and comprises the following steps:
receiving a detection instruction;
and acquiring and providing the operation parameters of at least one power supply to be detected according to the detection instruction.
7. The acquisition method according to claim 6,
after the receiving the detection instruction, further comprising:
receiving a storage path;
the collecting and providing of the operating parameters of at least one power supply to be tested comprises:
and acquiring the operating parameters of the at least one power supply to be tested, and storing the operating parameters of the at least one power supply to be tested according to the storage path.
8. A stability detection device, comprising: the device comprises a detection rule determining unit, a detection rule sending unit, an acquiring unit and a stability determining unit; wherein,
the detection rule determining unit is used for determining the detection times and the time interval;
the detection rule sending unit is configured to send a detection instruction corresponding to the detection times to a to-be-detected cabinet management controller corresponding to at least one external to-be-detected power supply by taking the time interval determined by the detection rule determining unit as a period, so that the external to-be-detected cabinet management controller acquires the operation parameters of the at least one external to-be-detected power supply each time the detection instruction is received;
the acquisition unit is used for acquiring each operation parameter acquired by the external cabinet management controller to be tested;
and the stability determining unit is used for determining whether the connection between the cabinet management controller to be tested and the at least one power supply to be tested is stable or not according to each operating parameter acquired by the acquiring unit.
9. The detection apparatus according to claim 8, wherein the stability determination unit comprises: the device comprises a first judgment subunit, a second judgment subunit, a third judgment subunit and a determination subunit; wherein,
the first judging subunit is configured to, for each of the operation parameters acquired by the acquiring unit, execute: analyzing the operation parameters, judging whether attribute information corresponding to each power supply to be detected exists in the operation parameters, if so, triggering the second judgment subunit, otherwise, reporting an error;
the second judging subunit is configured to, when receiving the trigger of the first judging subunit, judge whether the attribute information corresponding to each of the power supplies to be tested is arranged according to a preset sequence, if yes, trigger a third judging subunit, and otherwise report an error;
the third judging subunit is configured to, when receiving the trigger of the second judging subunit, analyze attribute information corresponding to each of the power supplies to be detected, determine an in-place state and a power value corresponding to each of the power supplies to be detected, determine, according to the in-place state and the power value corresponding to each of the power supplies to be detected, whether at least one power value corresponding to the power supply to be detected does not meet a preset standard value, and if so, report an error;
the determining subunit is configured to determine a total error reporting number according to the error reporting numbers of the first determining subunit, the second determining subunit, and the third determining subunit, and determine whether connection between the external cabinet management controller to be tested and the external at least one power supply to be tested is stable according to the total error reporting number.
10. A cabinet management controller, comprising: the device comprises an instruction receiving unit and a parameter acquisition unit; wherein,
the instruction receiving unit is used for receiving a detection instruction sent by an external detection device;
and the parameter acquisition unit is used for acquiring and providing the operating parameters of at least one external power supply to be detected according to the detection instruction received by the instruction receiving unit.
CN201611151665.8A 2016-12-14 2016-12-14 Stability detection method, parameter acquisition method and device Pending CN106598808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611151665.8A CN106598808A (en) 2016-12-14 2016-12-14 Stability detection method, parameter acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611151665.8A CN106598808A (en) 2016-12-14 2016-12-14 Stability detection method, parameter acquisition method and device

Publications (1)

Publication Number Publication Date
CN106598808A true CN106598808A (en) 2017-04-26

Family

ID=58802116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611151665.8A Pending CN106598808A (en) 2016-12-14 2016-12-14 Stability detection method, parameter acquisition method and device

Country Status (1)

Country Link
CN (1) CN106598808A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107422276A (en) * 2017-07-31 2017-12-01 郑州云海信息技术有限公司 Device and method is surveyed in a kind of power cabinet physical examination

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317714A (en) * 2014-10-29 2015-01-28 浪潮电子信息产业股份有限公司 Method for automatically testing stability of rack based on expect
US20150199289A1 (en) * 2014-01-16 2015-07-16 Quanta Computer Inc. Rack server system and auto-addressing method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150199289A1 (en) * 2014-01-16 2015-07-16 Quanta Computer Inc. Rack server system and auto-addressing method thereof
CN104317714A (en) * 2014-10-29 2015-01-28 浪潮电子信息产业股份有限公司 Method for automatically testing stability of rack based on expect

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107422276A (en) * 2017-07-31 2017-12-01 郑州云海信息技术有限公司 Device and method is surveyed in a kind of power cabinet physical examination

Similar Documents

Publication Publication Date Title
EP3425524A1 (en) Cloud platform-based client application data calculation method and device
CN107807877B (en) Code performance testing method and device
CN111353911A (en) Power equipment operation and maintenance method, system, equipment and storage medium
CN113051147A (en) Database cluster monitoring method, device, system and equipment
EP4020218B1 (en) Analyzing large-scale data processing jobs
CN106202535B (en) Method and system for detecting RRD database
CN109733238B (en) Fault detection method, device, storage medium and processor
CN109597746A (en) fault analysis method and device
CN110275878B (en) Service data detection method and device, computer equipment and storage medium
CN114996090A (en) Server abnormity detection method and device, electronic equipment and storage medium
CN104407966B (en) Statistical system and method for memory object number of JVM (JAVA virtual machine)
CN106709666A (en) Method and system for determining threshold value of index
CN106598808A (en) Stability detection method, parameter acquisition method and device
CN117395176A (en) Network fault identification method, device, equipment and storage medium
CN107121616B (en) Method and device for fault positioning of intelligent instrument
CN102546235A (en) Performance diagnosis method and system of web-oriented application under cloud computing environment
CN116698446A (en) Whole vehicle electrostatic current testing method, device, system and storage medium
CN111125195A (en) Data anomaly detection method and device
CN113626236B (en) Fault diagnosis method, device, equipment and medium for distributed file system
CN113591909B (en) Abnormality detection method for power system, abnormality detection device, and storage medium
CN115480948A (en) Hard disk failure prediction method and related equipment
CN109614330A (en) Storage system service test method, device, system, storage control and medium
CN111368104A (en) Information processing method, device and equipment
CN112787883B (en) Method, device and equipment for detecting NAT (network Address translation) fault of equipment
CN106776169A (en) A kind of method and device of the PSU of testing service device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426