CN113917355A - Automatic test method, device and system for redundant power supply - Google Patents

Automatic test method, device and system for redundant power supply Download PDF

Info

Publication number
CN113917355A
CN113917355A CN202010646029.2A CN202010646029A CN113917355A CN 113917355 A CN113917355 A CN 113917355A CN 202010646029 A CN202010646029 A CN 202010646029A CN 113917355 A CN113917355 A CN 113917355A
Authority
CN
China
Prior art keywords
server
switches
power supply
working state
automatic test
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
CN202010646029.2A
Other languages
Chinese (zh)
Inventor
黄植勤
李先绪
王海霞
邱红飞
郑文武
陈泳
朱海云
黄春光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202010646029.2A priority Critical patent/CN113917355A/en
Publication of CN113917355A publication Critical patent/CN113917355A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The utility model provides an automatic test method, device and system of redundant power supply, which relates to the technical field of power supply of Internet equipment, wherein the redundant power supply comprises a plurality of power supplies, the power supplies are connected with a server through a plurality of switches in one-to-one correspondence, and the automatic test method comprises the following steps: sending control signals to the plurality of switches to control the plurality of switches to be conducted; under the condition that the switches are conducted, the server is controlled to be in a first working state; controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state; and determining whether the power supply connected with the rest switches in the plurality of power supplies meets the requirement or not according to at least one of the power supply power of the redundant power supply and the working performance parameter reflecting the working performance of the server under the condition that the server is in the first working state and the second working state respectively.

Description

Automatic test method, device and system for redundant power supply
Technical Field
The disclosure relates to the technical field of power supply of internet equipment, in particular to an automatic test method, device and system of a redundant power supply.
Background
In the internet field, some devices, such as servers, are powered by redundant power supplies to ensure reliable operation of the devices. Before the equipment is put into practical use, the effectiveness of the redundant power supply needs to be detected.
In the related art, the redundant power supply is turned on and off manually.
Disclosure of Invention
The inventor has noted that in the case of a large number of redundant power supplies, it is necessary to manually repeatedly turn on and off the power supplies, and then determine whether the redundant power supplies satisfy the requirements by manually observing the operating state of the apparatus. Such an approach is time consuming, inefficient and prone to error.
In order to solve the above problem, the embodiments of the present disclosure propose the following solutions.
According to an aspect of the embodiments of the present disclosure, there is provided an automatic test method of a redundant power supply including a plurality of power supplies connected to a server via a plurality of switches in a one-to-one correspondence, the automatic test method including: sending control signals to the plurality of switches to control the plurality of switches to be conducted; under the condition that the switches are conducted, the server is controlled to be in a first working state; controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state; and determining whether the power supply connected with the rest switches in the plurality of power supplies meets the requirement or not according to at least one of the power supply power of the redundant power supply and the working performance parameter reflecting the working performance of the server under the condition that the server is in the first working state and the second working state respectively.
In some embodiments, said controlling said server in a first operational state comprises: and controlling the application of load pressure to the server so as to enable the working performance parameter of the server to reach the maximum preset parameter, thereby controlling the server to be in the first working state.
In some embodiments, controlling the application of load pressure to the server comprises: and controlling the test program set on the server to be executed.
In some embodiments, the preset redundancy modes include at least one redundancy mode, and each redundancy mode includes a plurality of combination modes; the step of controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state comprises the following steps: and respectively controlling the partial switches to be switched off and the rest switches to be switched on according to each combination mode in each redundancy mode, wherein at least one switch of the partial switches in different combination modes is different.
In some embodiments, said separately controlling said partial switches to be turned off and said remaining switches to be turned on in each combination of each redundancy mode includes: and after the partial switches are controlled to be switched off and the rest switches are controlled to be switched on according to each combination mode, the partial switches in the combination mode are controlled to be switched on.
In some embodiments, the determining whether the power supplies of the plurality of power supplies connected to the remaining switches meet the requirements according to at least one of a power supply of the redundant power supply and an operation performance parameter reflecting an operation performance of the server in the first operation state and the second operation state, respectively, includes: judging whether the working performance of the server in the second working state is lower than a preset performance or not according to at least one of the power supply power of the redundant power supply and the working performance parameter when the server is in the first working state and the second working state respectively to obtain a first judgment result; judging whether the power supply power of the redundant power supply is smaller than the rated power of the server under the condition that the server is in the second working state to obtain a second judgment result; judging whether the server is powered off or not under the condition that the server is in the second working state so as to obtain a third judgment result; and determining whether the power supply connected with the rest switches in the plurality of power supplies meets the requirements according to at least one of the first judgment result, the second judgment result and the third judgment result.
In some embodiments, the determining whether the power supply connected to the remaining switches among the plurality of power supplies satisfies a requirement according to at least one of the first determination result, the second determination result, and the third determination result includes: under the condition that the first judgment result, the second judgment result and the third judgment result are all negative, the power supply connected with the rest switches meets the requirement; and when at least one of the first judgment result, the second judgment result and the third judgment result is yes, the power supply connected with the rest switches does not meet the requirement.
In some embodiments, if a first difference between the power supply power of the redundant power supply when the server is in the first operating state and the power supply power of the redundant power supply when the server is in the second operating state is greater than a first preset value, the first judgment result is that the first preset value is greater than 0; if a second difference value between the working performance parameter when the server is in the first working state and the working performance parameter when the server is in the second working state is greater than a second preset value, the first judgment result is that the second preset value is greater than 0; and if the first difference is not greater than the first preset value and the second difference is not greater than the second preset value, the first judgment result is no.
According to another aspect of the embodiments of the present disclosure, there is provided an automatic test apparatus of a redundant power supply including a plurality of power supplies connected to a server via a plurality of switches in a one-to-one correspondence, the automatic test apparatus including: a transmitting module configured to transmit control signals to the plurality of switches to control the plurality of switches to be turned on; the control module is configured to control the server to be in a first working state under the condition that the plurality of switches are conducted; controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state; a determining module configured to determine whether a power supply connected to the remaining switches among the plurality of power supplies satisfies a requirement according to at least one of a power supply of the redundant power supply and an operating performance parameter reflecting an operating performance of the server when the server is in the first operating state and the second operating state, respectively.
According to another aspect of the embodiments of the present disclosure, there is provided an automatic test apparatus for a redundant power supply, including: a memory; and a processor coupled to the memory, the processor configured to perform the automated test method of any of the above embodiments based on instructions stored in the memory.
According to still another aspect of the embodiments of the present disclosure, there is provided an automatic test system of a redundant power supply, including: the automatic testing device for the redundant power supply according to any one of the above embodiments; and a plurality of switches in one-to-one correspondence with the plurality of power supplies, the plurality of power supplies being connected to the server via the plurality of switches.
In some embodiments, the automatic test system further comprises: and the pressure applying device is arranged on the server and is configured to apply load pressure to the server in response to the control instruction of the automatic testing device.
In some embodiments, the pressure applying device is configured to execute a tested program to apply load pressure to the server in response to the control instruction.
In the embodiment of the disclosure, the plurality of switches can be automatically controlled to be switched on or off by sending the control signals to the plurality of switches, so that the server is controlled to be in different working states. And then, according to at least one of the power supply power and the working performance parameters of the redundant power supply under different working states of the server, whether the power supply connected with the rest switches in the plurality of power supplies meets the requirements or not can be automatically determined. Such an approach may improve the efficiency and accuracy of testing the redundant power supply.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic block diagram of an automatic test system for redundant power supplies according to some embodiments of the present disclosure;
FIG. 2 is a schematic flow chart diagram of a method of automatic testing of redundant power supplies according to some embodiments of the present disclosure;
FIG. 3 is a schematic flow chart diagram of a method for automatic testing of redundant power supplies according to further embodiments of the present disclosure;
FIG. 4 is a schematic block diagram of an apparatus for automatic testing of redundant power supplies according to some embodiments of the present disclosure;
FIG. 5 is a schematic block diagram of an apparatus for automatic testing of redundant power supplies according to further embodiments of the present disclosure;
FIG. 6 is a block diagram of an automatic test system for redundant power supplies according to further embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
FIG. 1 is a schematic block diagram of an automatic test system for redundant power supplies according to some embodiments of the present disclosure.
As shown in fig. 1, the automatic test system of a redundant power supply includes an automatic test apparatus 101 of a redundant power supply and a plurality of switches 102. The automatic test apparatus 101 is connected to a plurality of switches 102 and to a server. The redundant power supply includes a plurality of power supplies connected to the server via a plurality of switches 102 in a one-to-one correspondence.
FIG. 2 is a schematic flow chart diagram of a method for automatic testing of redundant power supplies according to some embodiments of the present disclosure. In some embodiments, the automatic test method of the redundant power supply may be performed by the automatic test apparatus 101 of the redundant power supply shown in fig. 1.
At step 202, control signals are sent to the plurality of switches to control the plurality of switches to conduct.
Here, in a case where the plurality of switches are all turned on, each of the redundant power supplies is connected to the server through the corresponding switch, respectively.
For example, step 202 and subsequent steps 204-208 are performed automatically in response to a test request from a user (e.g., the user touching a test start button).
In step 204, the control server is in a first operating state when the plurality of switches are on.
In some embodiments, the application of load pressure to the server may be controlled so that the operating performance parameter of the server reaches a maximum preset parameter, thereby controlling the server to be in the first operating state. In this case, when the server is in the first operating state, the load pressure of the server is high, and at this time, the power consumption of the server is high. For example, the performance parameters may include an Operand Per Second (OPS). The OPS may reflect the performance of a Central Processing Unit (CPU) of the server. When the OPS reaches the maximum preset OPS, the resource occupation of the CPU of the server is large. It should be understood that the operational performance parameters may also include other parameters that may reflect the operational performance of the server.
There are various ways of applying load pressure to the servers. For example, a test program set on the server may be controlled to be executed. When the test program is executed, various resources of the server, such as CPU resources, broadband resources, etc., are consumed, thereby increasing power consumption of the server. For another example, the read/write operations on the memory of the server may be controlled to consume memory resources and input/output (I/O) resources of the server, thereby increasing the power consumption of the server.
In step 206, according to a preset redundancy mode, some switches of the plurality of switches are controlled to be turned off, and the rest switches are controlled to be turned on, so that the server is in a second working state.
Here, the preset redundancy may include, for example, 1+1, N + N, and the like. Taking an example that the plurality of switches include 4 switches and the redundancy mode is 2+2, any 2 of the 4 switches may be controlled to be turned off, and the remaining 2 switches may be controlled to be turned on, so that the server is in the second working state.
In some embodiments, the predetermined redundancy modes include at least one redundancy mode, and each redundancy mode includes a plurality of combination modes. In this case, according to each combination mode in each redundancy mode, part of the switches may be controlled to be turned off, and the rest of the switches may be controlled to be turned on, respectively, so as to enable the server to be in the second operating state. Here, at least one of the partial switches in the different combinations is different.
For example, the plurality of switches 102 includes switch 1, switch 2, switch 3, and switch 4. When the redundancy scheme is 2+2, the combination scheme of the redundancy scheme includes the following 6 combination schemes: switch 1+ switch 2, switch 1+ switch 3, switch 1+ switch 4, switch 2+ switch 3, switch 2+ switch 4, switch 3+ switch 4. For example, the switch 1 and the switch 2 are controlled to be turned off and the switch 3 and the switch 4 are controlled to be turned on according to the first combination mode; according to a second combination mode, the switch 1 and the switch 3 are controlled to be disconnected, and the switch 3 and the switch 4 are controlled to be connected; and so on.
In some embodiments, after some switches are controlled to be turned off and the rest of switches are controlled to be turned on according to each combination mode, some switches in the combination mode are controlled to be turned on, that is, all switches are controlled to be turned on. And then, controlling the switch-off of part of the switches and the switch-on of the other switches according to another combination mode. This is repeated.
In step 208, it is determined whether the power supply connected to the remaining switches of the plurality of power supplies meets the requirement according to at least one of the power supply power of the redundant power supply and the operating performance parameter reflecting the operating performance of the server in the case where the server is in the first operating state and the second operating state, respectively.
In the above embodiment, the on or off of the switches can be automatically controlled by sending the control signals to the switches, so as to control the server to be in different working states. And then, according to at least one of the power supply power and the working performance parameters of the redundant power supply under different working states of the server, whether the power supply connected with the rest switches in the plurality of power supplies meets the requirements or not can be automatically determined. Such an approach may improve the efficiency and accuracy of testing the redundant power supply.
Some specific implementations of step 208 are described below.
In some embodiments, whether the power supply connected to the remaining switches among the plurality of power supplies satisfies the requirement may be determined according to at least one of the first determination result, the second determination result, and the third determination result described below.
The first determination result may be determined as follows.
And judging whether the working performance of the server in the second working state is lower than the preset performance or not according to at least one of the power supply power and the working performance parameters of the redundant power supply when the server is in the first working state and the second working state respectively so as to obtain a first judgment result.
In some implementations, the first determination result can be determined as follows.
If a first difference value between the power supply power of the redundant power supply when the server is in the first working state and the power supply power of the redundant power supply when the server is in the second working state is larger than a first preset value (larger than 0), the first judgment result is yes, that is, the working performance of the server in the second working state is lower than the preset performance.
If a second difference value between the working performance parameter when the server is in the first working state and the working performance parameter when the server is in the second working state is larger than a second preset value (larger than 0), the first judgment result is yes.
And if the first difference is not greater than the first preset value and the second difference is not greater than the second preset value, the first judgment result is no, namely the working performance of the server in the second working state is not lower than the preset performance.
In the foregoing implementation manner, only when the first difference is not greater than the first preset value and the second difference is not greater than the second preset value, the first determination result is considered as no. Such an approach may improve the accuracy of the final determination of whether the power supply meets the requirements.
It should be understood that the first preset value and the second preset value can be set according to actual conditions.
The second determination result may be determined according to the following manner.
And judging whether the power supply power of the redundant power supply is smaller than the rated power of the server under the condition that the server is in the second working state to obtain a second judgment result. And if the power supply power of the redundant power supply under the condition that the server is in the second working state is less than the rated power of the server, the power supply connected with the rest switches cannot meet the working requirement of the server.
The third determination result may be determined as follows.
And judging whether the server is powered off or not under the condition that the server is in the second working state so as to obtain a third judgment result. If the server is shut down, the power supply connected with the rest switches cannot meet the working requirement of the server.
In some embodiments, when the first determination result, the second determination result, and the third determination result are all negative, the power supply connected to the remaining switches meets the requirement; and when at least one of the first judgment result, the second judgment result and the third judgment result is yes, the power supply connected with the rest switches does not meet the requirement. This way it can be ensured that the finally determined power supply meeting the requirements is indeed able to meet the operational requirements of the server.
FIG. 3 is a flow chart diagram of a method for automatic testing of redundant power supplies according to further embodiments of the present disclosure. Fig. 3 illustrates a certain redundancy scheme as an example. It is understood that, in the case that the preset redundancy mode includes a plurality of redundancy modes, other redundancy modes can be tested according to the flow shown in fig. 3.
In step 302, control signals are sent to the plurality of switches to control the plurality of switches to conduct.
In step 304, the control server is in a first operating state with the plurality of switches on.
In step 306, according to the first combination mode, some switches are controlled to be turned off, and the rest switches are controlled to be turned on, so that the server is in the second working state.
Here, any one of a plurality of combinations may be used as the first combination. For example, some switches 1 and 2 are controlled to be turned off and the remaining switches 3 and 4 are controlled to be turned on in a first combination manner.
In step 308, the portion of the switches in the first combination mode is controlled to be turned on. I.e. switch 1 and switch 2 are controlled to be conductive.
In step 310, it is determined whether or not some of the switches are turned off and the remaining switches are turned on according to all the combination modes, so that the server is in the second operating state. If so, go to step 312; if not, step 306-step 310 are repeated in another combination as the first combination in step 306.
In step 312, it is determined whether the power supply connected to the remaining switches of the plurality of power supplies meets the requirement according to at least one of the power supply power of the redundant power supply and the operating performance parameter reflecting the operating performance of the server in the case where the server is in the first operating state and the second operating state, respectively.
The specific implementation of step 312 may refer to the above description, and is not described herein again.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the embodiment of the automatic test device, since it basically corresponds to the embodiment of the automatic test method, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiment of the method.
FIG. 4 is a schematic diagram of an apparatus for automatic testing of redundant power supplies, according to some embodiments of the present disclosure. The redundant power supply includes a plurality of power supplies connected to the server via a plurality of switches in a one-to-one correspondence.
As shown in fig. 4, the automatic test apparatus includes a transmission module 401, a control module 402, and a determination module 403.
The transmitting module 401 is configured to transmit control signals to the plurality of switches to control the plurality of switches to be turned on. The control module 402 is configured to control the server to be in a first operating state if the plurality of switches are on; and controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state. The determining module 403 is configured to determine whether the power supply connected to the remaining switches of the plurality of power supplies satisfies a requirement according to at least one of the power supply power of the redundant power supply and the operating performance parameter reflecting the operating performance of the server in the case where the server is in the first operating state and the second operating state, respectively.
In the above embodiment, the on or off of the switches can be automatically controlled by sending the control signals to the switches, so as to control the server to be in different working states. And then, according to at least one of the power supply power and the working performance parameters of the redundant power supply under different working states of the server, whether the power supply connected with the rest switches in the plurality of power supplies meets the requirements or not can be automatically determined. Such an approach may improve the efficiency and accuracy of testing the redundant power supply.
FIG. 5 is a schematic diagram of an apparatus for automatic testing of redundant power supplies according to further embodiments of the present disclosure.
As shown in fig. 5, the automatic test equipment 500 includes a memory 501 and a processor 502 coupled to the memory 501, and the processor 502 is configured to execute the method of any of the foregoing embodiments based on instructions stored in the memory 501.
The memory 501 may include, for example, a system memory, a fixed non-volatile storage medium, and the like. The system memory may store, for example, an operating system, application programs, a Boot Loader (Boot Loader), and other programs.
The automatic test apparatus 500 may further include an input-output interface 503, a network interface 504, a storage interface 505, and the like. The interfaces 503, 504, 505 and the memory 501 and the processor 502 may be connected by a bus 506, for example. The input/output interface 503 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 504 provides a connection interface for various networking devices. The storage interface 505 provides a connection interface for external storage devices such as an SD card and a usb disk.
FIG. 6 is a block diagram of an automatic test system for redundant power supplies according to further embodiments of the present disclosure.
As shown in fig. 6, the automatic test system of a redundant power supply includes the automatic test apparatus 601 of a redundant power supply of any one of the above embodiments and a plurality of switches 602 corresponding to a plurality of power supplies one to one. The plurality of power supplies are connected to the server via a plurality of switches 602.
In some embodiments, the automatic test system further comprises: and a pressure applying device 603, provided on the server, configured to apply a load pressure to the server in response to the control instruction sent by the automatic test device 601. For example, the pressure applying device 603 is configured to execute a program under test to apply load pressure to the server in response to a control instruction sent by the automatic test device 601.
In other embodiments, the pressure applying device 603 is further configured to perform read and write operations on the memory of the server in response to the control instruction sent by the automatic testing device 601 to apply load pressure to the server.
For example, the pressure applying device 603 may include a memory and a processor coupled to the memory, the processor being configured to perform corresponding steps based on instructions stored in the memory, e.g., executing a program under test or performing read-write operations on a memory of a server in response to control instructions sent by the automatic test device 601.
The disclosed embodiments also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of the above embodiments.
Thus, various embodiments of the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that the functions specified in one or more of the flows in the flowcharts and/or one or more of the blocks in the block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made in the above embodiments or equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (14)

1. An automatic test method of a redundant power supply including a plurality of power supplies connected to a server via a plurality of switches in a one-to-one correspondence, the automatic test method comprising:
sending control signals to the plurality of switches to control the plurality of switches to be conducted;
under the condition that the switches are conducted, the server is controlled to be in a first working state;
controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state;
and determining whether the power supply connected with the rest switches in the plurality of power supplies meets the requirement or not according to at least one of the power supply power of the redundant power supply and the working performance parameter reflecting the working performance of the server under the condition that the server is in the first working state and the second working state respectively.
2. The automatic test method of claim 1, wherein the controlling the server in a first operational state comprises:
and controlling the application of load pressure to the server so as to enable the working performance parameter of the server to reach the maximum preset parameter, thereby controlling the server to be in the first working state.
3. The automated testing method of claim 2, wherein controlling application of load pressure to the server comprises:
and controlling the test program set on the server to be executed.
4. The automatic test method according to claim 1, wherein the preset redundancy means includes at least one redundancy means, each redundancy means includes a plurality of combinations;
the step of controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state comprises the following steps:
and respectively controlling the partial switches to be switched off and the rest switches to be switched on according to each combination mode in each redundancy mode, wherein at least one switch of the partial switches in different combination modes is different.
5. The automatic test method of claim 4, wherein the separately controlling the partial switches to be turned off and the remaining switches to be turned on in each combination of each redundancy mode comprises:
and after the partial switches are controlled to be switched off and the rest switches are controlled to be switched on according to each combination mode, the partial switches in the combination mode are controlled to be switched on.
6. The automatic test method according to any one of claims 1 to 5, wherein the determining whether the power supply connected to the remaining switches among the plurality of power supplies satisfies a requirement according to at least one of a power supply of the redundant power supply and an operation performance parameter reflecting an operation performance of the server in the case where the server is in the first operation state and the second operation state, respectively, comprises:
judging whether the working performance of the server in the second working state is lower than a preset performance or not according to at least one of the power supply power of the redundant power supply and the working performance parameter when the server is in the first working state and the second working state respectively to obtain a first judgment result;
judging whether the power supply power of the redundant power supply is smaller than the rated power of the server under the condition that the server is in the second working state to obtain a second judgment result;
judging whether the server is powered off or not under the condition that the server is in the second working state so as to obtain a third judgment result;
and determining whether the power supply connected with the rest switches in the plurality of power supplies meets the requirements according to at least one of the first judgment result, the second judgment result and the third judgment result.
7. The automatic test method of claim 6, wherein the determining whether the power supply connected to the remaining switches among the plurality of power supplies satisfies a requirement according to at least one of the first determination result, the second determination result, and the third determination result comprises:
under the condition that the first judgment result, the second judgment result and the third judgment result are all negative, the power supply connected with the rest switches meets the requirement;
and when at least one of the first judgment result, the second judgment result and the third judgment result is yes, the power supply connected with the rest switches does not meet the requirement.
8. The automatic test method of claim 6, wherein:
if a first difference value between the power supply power of the redundant power supply when the server is in the first working state and the power supply power of the redundant power supply when the server is in the second working state is greater than a first preset value, the first judgment result is that the first preset value is greater than 0;
if a second difference value between the working performance parameter when the server is in the first working state and the working performance parameter when the server is in the second working state is greater than a second preset value, the first judgment result is that the second preset value is greater than 0;
and if the first difference is not greater than the first preset value and the second difference is not greater than the second preset value, the first judgment result is no.
9. An automatic test device of a redundant power supply including a plurality of power supplies connected to a server via a plurality of switches in a one-to-one correspondence, the automatic test device comprising:
a transmitting module configured to transmit control signals to the plurality of switches to control the plurality of switches to be turned on;
the control module is configured to control the server to be in a first working state under the condition that the plurality of switches are conducted; controlling the disconnection of part of the switches and the conduction of the rest of the switches according to a preset redundancy mode so as to enable the server to be in a second working state;
a determining module configured to determine whether a power supply connected to the remaining switches among the plurality of power supplies satisfies a requirement according to at least one of a power supply of the redundant power supply and an operating performance parameter reflecting an operating performance of the server when the server is in the first operating state and the second operating state, respectively.
10. An automatic test device for redundant power supplies, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the automated test method of any of claims 1-8 based on instructions stored in the memory.
11. An automatic test system for redundant power supplies, comprising:
an automatic test device for redundant power supplies according to any one of claims 1 to 8; and
and a plurality of switches in one-to-one correspondence with the plurality of power supplies, the plurality of power supplies being connected to the server via the plurality of switches.
12. The automatic test system of claim 11, further comprising:
and the pressure applying device is arranged on the server and is configured to apply load pressure to the server in response to the control instruction of the automatic testing device.
13. The automatic test system of claim 12, wherein the pressure applying device is configured to execute a program under test to apply a load pressure to the server in response to the control instruction.
14. A computer readable storage medium having computer program instructions stored thereon, wherein the instructions, when executed by a processor, implement the automatic test method of any one of claims 1-8.
CN202010646029.2A 2020-07-07 2020-07-07 Automatic test method, device and system for redundant power supply Pending CN113917355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010646029.2A CN113917355A (en) 2020-07-07 2020-07-07 Automatic test method, device and system for redundant power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010646029.2A CN113917355A (en) 2020-07-07 2020-07-07 Automatic test method, device and system for redundant power supply

Publications (1)

Publication Number Publication Date
CN113917355A true CN113917355A (en) 2022-01-11

Family

ID=79231619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010646029.2A Pending CN113917355A (en) 2020-07-07 2020-07-07 Automatic test method, device and system for redundant power supply

Country Status (1)

Country Link
CN (1) CN113917355A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080048665A1 (en) * 2006-08-23 2008-02-28 Micrel Inc. Generation of System Power-Good Signal in Hot-Swap Power Controllers
CN102522809A (en) * 2011-12-20 2012-06-27 浪潮(北京)电子信息产业有限公司 System and method for achieving power redundancy
CN102654845A (en) * 2011-03-02 2012-09-05 鸿富锦精密工业(深圳)有限公司 Power supply testing system and method
US20120226464A1 (en) * 2011-03-01 2012-09-06 Hon Hai Precision Industry Co., Ltd. System and method for testing power supplies of server
CN107478996A (en) * 2017-07-28 2017-12-15 郑州云海信息技术有限公司 The detection maintaining method and detection attending device of a kind of power supplying system of server
CN107907838A (en) * 2017-11-22 2018-04-13 郑州云海信息技术有限公司 A kind of redundant power module tests system and method
CN108983110A (en) * 2018-04-16 2018-12-11 许继集团有限公司 A kind of power supply reliability detection system of converter valve monitoring device
CN109975721A (en) * 2017-12-27 2019-07-05 中兴通讯股份有限公司 A kind of power supply monitoring method, system and power supply
CN209514024U (en) * 2019-01-19 2019-10-18 广东兴达利建设工程有限公司 Prepared auto restart switch test instrument
CN110488961A (en) * 2019-07-19 2019-11-22 苏州浪潮智能科技有限公司 A kind of server power supply test method and system
JP2019220137A (en) * 2018-06-20 2019-12-26 技嘉科技股▲ふん▼有限公司Giga−Byte Technology Co.,Ltd. Method for controlling redundant power source device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080048665A1 (en) * 2006-08-23 2008-02-28 Micrel Inc. Generation of System Power-Good Signal in Hot-Swap Power Controllers
US20120226464A1 (en) * 2011-03-01 2012-09-06 Hon Hai Precision Industry Co., Ltd. System and method for testing power supplies of server
CN102654845A (en) * 2011-03-02 2012-09-05 鸿富锦精密工业(深圳)有限公司 Power supply testing system and method
CN102522809A (en) * 2011-12-20 2012-06-27 浪潮(北京)电子信息产业有限公司 System and method for achieving power redundancy
CN107478996A (en) * 2017-07-28 2017-12-15 郑州云海信息技术有限公司 The detection maintaining method and detection attending device of a kind of power supplying system of server
CN107907838A (en) * 2017-11-22 2018-04-13 郑州云海信息技术有限公司 A kind of redundant power module tests system and method
CN109975721A (en) * 2017-12-27 2019-07-05 中兴通讯股份有限公司 A kind of power supply monitoring method, system and power supply
CN108983110A (en) * 2018-04-16 2018-12-11 许继集团有限公司 A kind of power supply reliability detection system of converter valve monitoring device
JP2019220137A (en) * 2018-06-20 2019-12-26 技嘉科技股▲ふん▼有限公司Giga−Byte Technology Co.,Ltd. Method for controlling redundant power source device
CN209514024U (en) * 2019-01-19 2019-10-18 广东兴达利建设工程有限公司 Prepared auto restart switch test instrument
CN110488961A (en) * 2019-07-19 2019-11-22 苏州浪潮智能科技有限公司 A kind of server power supply test method and system

Similar Documents

Publication Publication Date Title
CN109388604B (en) Hot plug control method, device and storage medium based on PCIe
US10528119B2 (en) Dynamic power routing to hardware accelerators
US9806959B2 (en) Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface
CN109582325A (en) Method for upgrading software, robot and the computer readable storage medium of robot
WO2019167421A1 (en) Simulator, simulation device, and simulation method
CN112181942A (en) Time sequence database system and data processing method and device
CN110209548B (en) Service control method, system, electronic device and computer readable storage medium
CN108599774B (en) Compression method, system, device and computer readable storage medium
CN103561089A (en) Virtual machine desktop log-in method, device and system
CN113608970A (en) Core board, server, failure recovery method, device and storage medium
CN103890713A (en) Apparatus and method for managing register information in a processing system
CN112433812A (en) Method, system, equipment and computer medium for virtual machine cross-cluster migration
CN113917355A (en) Automatic test method, device and system for redundant power supply
CN115756322A (en) Data storage method and device, electronic equipment and storage medium
CN108388481B (en) Intelligent watchdog circuit system of OLT equipment
CN111414201A (en) PCIe card loading method, device, equipment and storage medium
CN111708582A (en) Online configuration method and device and electronic equipment
CN111338861B (en) RSS-based network card performance test method, device, equipment and storage medium
CN113986112B (en) Soft keyboard display method, related device and computer program product
US9423850B2 (en) System and method of power control for embedded systems without advanced configuration and power interface (ACPI)
CN110310046B (en) Power supply method, equipment, device, system and computer readable storage medium
CN110286937B (en) Distributed software operation method and system
JP6750299B2 (en) Information processing system
US20240103601A1 (en) Power management chip, electronic device having the same, and operating method thereof
US8656148B2 (en) Device information collecting method and system in computer system

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