CN113917355B - Automatic test method, device and system for redundant power supply - Google Patents
Automatic test method, device and system for redundant power supply Download PDFInfo
- Publication number
- CN113917355B CN113917355B CN202010646029.2A CN202010646029A CN113917355B CN 113917355 B CN113917355 B CN 113917355B CN 202010646029 A CN202010646029 A CN 202010646029A CN 113917355 B CN113917355 B CN 113917355B
- 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.)
- Active
Links
- 238000010998 test method Methods 0.000 title claims abstract description 21
- 238000012360 testing method Methods 0.000 claims description 49
- 238000004590 computer program Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 5
- 230000014509 gene expression Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
- Power Sources (AREA)
Abstract
The disclosure provides an automatic test method, device and system for a redundant power supply, and relates to the technical field of power supply of internet equipment, wherein the redundant power supply comprises a plurality of power supplies, and 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: transmitting control signals to the plurality of switches to control the plurality of switches to be turned on; controlling the server to be in a first working state under the condition that the switches are conducted; according to a preset redundancy mode, controlling a part of switches in the plurality of switches to be disconnected and the rest of switches to be connected so as to enable the server to be in a second working state; and determining whether power supplies connected with the rest switches in the plurality of power supplies meet requirements according to at least one of power supply power of the redundant power supplies and working performance parameters reflecting working performance of the server under the condition that the server is in the first working state and the second working state respectively.
Description
Technical Field
The disclosure relates to the technical field of internet equipment power supply, in particular to an automatic test method, an automatic test device and an automatic test system for 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 device. Before the device is put into practical use, the validity of the redundant power supply needs to be detected.
In the related art, redundant power supplies are switched on and off manually.
Disclosure of Invention
The inventor notes that in the case that the number of redundant power supplies is large, it is necessary to manually repeatedly turn on and off the power supplies, and then determine whether the redundant power supplies meet the requirements by manually observing the operation state of the device. Such a method is time consuming, inefficient, and prone to error.
In order to solve the above-described problems, 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 one-to-one correspondence, the automatic test method including: transmitting control signals to the plurality of switches to control the plurality of switches to be turned on; controlling the server to be in a first working state under the condition that the switches are conducted; according to a preset redundancy mode, controlling a part of switches in the plurality of switches to be disconnected and the rest of switches to be connected so as to enable the server to be in a second working state; and determining whether power supplies connected with the rest switches in the plurality of power supplies meet requirements according to at least one of power supply power of the redundant power supplies and working performance parameters reflecting 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, the controlling the server to be in the first operating state includes: and controlling to apply 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 arranged on the server to be executed.
In some embodiments, the preset redundancy modes include at least one redundancy mode, each redundancy mode including a plurality of combination modes; the controlling, according to a preset redundancy manner, a part of the switches to be turned off and the rest to be turned on so that the server is in a second working state includes: and respectively controlling the partial switch to be turned off and the rest switches to be turned on according to each combination mode in each redundancy mode, wherein at least one of the partial switches in different combination modes is different.
In some embodiments, said separately controlling the opening of the partial switches and the closing of the remaining switches according to each combination of each redundancy scheme comprises: and after the partial switches are controlled to be opened and the rest switches are controlled to be closed according to each combination mode, the partial switches in the combination mode are controlled to be closed.
In some embodiments, the determining whether the power supplies connected to the remaining switches among the plurality of power supplies meet the requirement according to at least one of the power supply power of the redundant power supply and an operation performance parameter reflecting the operation performance of the server in the case where the server is 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 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 judging 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 so as to obtain a second judging result; judging whether the server is in the second working state or not to obtain a third judging result; and determining whether the power supplies connected with the rest switches in the plurality of power supplies meet the requirements according to at least one of the first judging result, the second judging result and the third judging result.
In some embodiments, the determining whether the power supplies connected to the remaining switches among the plurality of power supplies meet the 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 judging result, the second judging result and the third judging result are all NO, the power supplies connected with the other switches meet the requirements; and under the condition that at least one of the first judging result, the second judging result and the third judging 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 of the redundant power supply when the server is in the first operating state and the power supply of the redundant power supply when the server is in the second operating state is greater than a first preset value, the first determination result is that the first preset value is greater than 0; if a second difference between the working performance parameter of the server in the first working state and the working performance parameter of the server in the second working state is larger than a second preset value, the first judgment result is that the second preset value is larger than 0; and if the first difference value is not greater than the first preset value and the second difference value 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 one-to-one correspondence, the automatic test apparatus including: a transmission module configured to transmit a control signal 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 switches are conducted; and controlling a part of the switches to be disconnected and the rest to be connected according to a preset redundancy mode so as to enable the server to be in a second working state; the determining module is configured to determine whether power supplies connected with the rest switches in the plurality of power supplies meet requirements according to at least one of power supply power of the redundant power supply and working performance parameters reflecting working performance of the server under the condition that the server is in the first working state and the second working state respectively.
According to still another aspect of the embodiments of the present disclosure, there is provided an automatic test apparatus for redundant power supplies, including: a memory; and a processor coupled to the memory, the processor configured to perform the automatic test method of any of the embodiments described above based on instructions stored in the memory.
According to yet another aspect of an embodiment of the present disclosure, there is provided an automatic test system for redundant power supplies, including: the automatic test equipment of redundant power supply of any embodiment; and a plurality of switches in one-to-one correspondence with the plurality of power supplies, the plurality of power supplies being connected with the server via the plurality of switches.
In some embodiments, the automated 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 a control instruction of the automatic testing device.
In some embodiments, the pressure applying means is configured to execute a program under test to apply load pressure to the server in response to the control instructions.
In the embodiment of the disclosure, the on/off of the switches can be automatically controlled by sending the control signals to the switches, so that the server is controlled to be in different working states. Furthermore, 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 switch in the plurality of power supplies meets the requirements can be automatically determined. By the method, the testing efficiency and accuracy of the redundant power supply can be improved.
The technical scheme of the present disclosure is described in further detail below through 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 that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a schematic diagram of an automatic test system for redundant power supplies according to some embodiments of the present disclosure;
FIG. 2 is a flow diagram of an automatic test method for redundant power supplies according to some embodiments of the present disclosure;
FIG. 3 is a flow chart of an automatic test method for redundant power supplies according to further embodiments of the present disclosure;
FIG. 4 is a schematic diagram of an automatic test equipment for redundant power supplies according to some embodiments of the present disclosure;
FIG. 5 is a schematic diagram of an automatic test equipment for redundant power supplies according to further embodiments of the present disclosure;
Fig. 6 is a schematic diagram of an automatic test system for redundant power supplies according to further embodiments of the present disclosure.
Detailed Description
The following description of the technical solutions in the embodiments of the present disclosure will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to fall within the scope of this disclosure.
The relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Fig. 1 is a schematic 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 for a redundant power supply includes an automatic test apparatus 101 for a redundant power supply and a plurality of switches 102. The automatic test equipment 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 one-to-one correspondence.
Fig. 2 is a flow diagram of an automatic test method for 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 equipment 101 of the redundant power supply shown in fig. 1.
At step 202, a control signal is sent to a plurality of switches to control the plurality of switches to conduct.
Here, in the case where the plurality of switches are all turned on, each of the redundant power supplies is connected to the server through a corresponding switch, respectively.
For example, step 202 and subsequent steps 204-208 are performed automatically in response to a user's test request (e.g., the user touches a test start button).
In step 204, the control server is in a first operating state with the plurality of switches on.
In some embodiments, the application of load pressure to the server may be controlled to achieve a maximum preset parameter for the operating performance parameter of the server, 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 large, and the power consumption of the server is large. For example, the operational performance parameter may include an Operand Per Second (OPS). OPS may reflect the performance of the Central Processing Unit (CPU) of the server. When the OPS reaches the maximum preset OPS, the CPU resource occupation of the server is large. It should be appreciated that the operational performance parameters may also include other parameters that may reflect the operational performance of the server.
There are various ways to apply load pressure to the server. For example, a test program set on a 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 operation may be controlled to be performed on the memory of the server to consume memory resources and input/output (I/O) resources of the server, thereby increasing power consumption of the server.
In step 206, a part of the switches in the plurality of switches are controlled to be turned off and the rest of the switches are controlled to be turned on according to a preset redundancy mode, so that the server is in the second working state.
Here, the preset redundancy modes may include redundancy modes such as 1+1, n+1, n+n, and the like, for example. Taking the example that the plurality of switches comprise 4 switches and the redundancy mode is 2+2, any 2 switches in the 4 switches can be controlled to be disconnected, and the other 2 switches are controlled to be connected, so that the server is in the second working state.
In some embodiments, the predetermined redundancy scheme includes at least one redundancy scheme, each redundancy scheme including a plurality of combination schemes. In this case, a part of the switches may be controlled to be turned off and the other switches may be controlled to be turned on according to each combination of each redundancy mode, so that the server is 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. In the case where 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 partial switch 1 and switch 2 are controlled to be turned off, and the partial switch 3 and switch 4 are controlled to be turned on according to a first combination; controlling the partial switch 1 and the switch 3 to be opened and the partial switch 3 and the partial switch 4 to be closed according to a second combination mode; and so on.
In some embodiments, after the partial switches are controlled to be turned off and the rest of the switches are controlled to be turned on according to each combination mode, the partial switches in the combination mode are controlled to be turned on, namely all the switches are controlled to be turned on. And then, after the partial switches are controlled to be disconnected and the rest switches are controlled to be connected according to another combination mode. This is repeated.
In step 208, it is determined whether the power supplies connected to the remaining switches among the plurality of power supplies satisfy 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 first operating state and the second operating state, respectively.
In the above embodiment, the on/off of the plurality of switches may be automatically controlled by sending the control signal to the plurality of switches, so as to control the server to be in different working states. Furthermore, 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 switch in the plurality of power supplies meets the requirements can be automatically determined. By the method, the testing efficiency and accuracy of the redundant power supply can be improved.
Some specific implementations of step 208 are described below.
In some embodiments, it may be determined whether the power supplies connected to the remaining switches among the plurality of power supplies satisfy the requirement 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 according to at least one of the power supply power and the working performance parameters of the redundant power supply under the condition that the server is in the first working state and the second working state respectively so as to obtain a first judging result.
In some implementations, the first determination may be determined as follows.
If the first difference between the power supply of the redundant power supply in the case that the server is in the first working state and the power supply of the redundant power supply in the case that the server is in the second working state is greater than a first preset value (greater than 0), the first judgment result is yes, that is, the working performance of the server in the case that the server is in the second working state is lower than the preset performance.
If the second difference between the working performance parameter of the server in the first working state and the working performance parameter of the server in the second working state is greater than a second preset value (greater than 0), the first judgment result is yes.
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, that is, the working performance of the server in the second working state is not lower than the preset performance.
In the above 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 judgment result is considered as no. This way, the accuracy of the final determination of whether the power supply meets the requirements can be improved.
It should be understood that the first preset value and the second preset value may be set according to actual situations.
The second determination result may be determined as follows.
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 so as to obtain a second judging result. If 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, the power supply connected with the rest switches cannot meet the working requirements of the server.
The third determination result may be determined as follows.
And judging whether the server is in the second working state or not, and if so, obtaining a third judging result. If the server is powered off, it means that the power source connected to the remaining switches cannot meet the operational requirements of the server.
In some embodiments, if the first, second, and third determination results are all negative, the power supply connected to the remaining switches meets the requirement; and if 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 this way it is ensured that the resulting satisfactory power supply is indeed able to meet the operational requirements of the server.
FIG. 3 is a flow chart of an automatic test method for redundant power supplies according to further embodiments of the present disclosure. Fig. 3 illustrates an example of a certain redundancy scheme. It will be appreciated that in the case where the preset redundancy scheme includes multiple redundancy schemes, the other redundancy schemes may all be tested according to the flow shown in fig. 3.
In step 302, a control signal is 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, a portion of the switches are controlled to be turned off and the remaining 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, a part of the switches 1 and 2 are controlled to be turned off and the rest of the switches 3 and 4 are controlled to be turned on in a first combination.
In step 308, the portion of the switches in the first combination is controlled to conduct. I.e. control switch 1 and switch 2 are conductive.
In step 310, it is determined whether a part of the switches are turned off and the rest of the switches are turned on according to all the combinations, so that the server is in the second working state. If so, step 312 is performed; if not, steps 306-310 are repeated with another combination as the first combination in step 306.
In step 312, it is determined whether the power supplies connected to the remaining switches among the plurality of power supplies satisfy the requirements 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 first operating state and the second operating state, respectively.
The specific implementation of step 312 may refer to the above description, and will not be described in detail herein.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For the automatic test equipment embodiment, since it basically corresponds to the automatic test method embodiment, the description is relatively simple, and the relevant points are referred to in the description of the method embodiment.
Fig. 4 is a schematic structural diagram of an automatic test equipment for redundant power supplies according to some embodiments of the present disclosure. The redundant power supply comprises a plurality of power supplies which are connected with the server through a plurality of switches in 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 a control signal 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 a part of the switches to be disconnected and the rest to be connected 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 supplies connected to the remaining switches among the plurality of power supplies satisfy the requirement according to at least one of a power supply power 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.
In the above embodiment, the on/off of the plurality of switches may be automatically controlled by sending the control signal to the plurality of switches, so as to control the server to be in different working states. Furthermore, 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 switch in the plurality of power supplies meets the requirements can be automatically determined. By the method, the testing efficiency and accuracy of the redundant power supply can be improved.
Fig. 5 is a schematic structural view of an automatic test equipment for redundant power supplies according to other 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, the processor 502 being configured to execute the method of any of the foregoing embodiments based on instructions stored in the memory 501.
Memory 501 may include, for example, system memory, fixed nonvolatile storage media, and the like. The system memory may store, for example, an operating system, application programs, boot Loader (Boot Loader), and other programs.
The automatic test equipment 500 may further include an input/output interface 503, a network interface 504, a storage interface 505, and the like. These 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, mouse, keyboard, touch screen, etc. 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 SD cards, U discs, and the like.
Fig. 6 is a schematic 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 for redundant power supplies includes the automatic test apparatus 601 for redundant power supplies according to any of the above embodiments and a plurality of switches 602 in one-to-one correspondence with the plurality of power supplies. The plurality of power sources are connected to the server via a plurality of switches 602.
In some embodiments, the automated test system further comprises: and a pressure applying device 603, disposed on the server, configured to apply a load pressure to the server in response to the control instruction transmitted from 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 from 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 to apply load pressure to the server in response to control instructions sent by the automatic test device 601.
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, for example, to execute a program under test or to perform read and write operations to 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. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
It will be appreciated by those skilled in the art that 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, etc.) 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 functions specified in one or more of the flowcharts and/or one or more of the blocks in the block diagrams may 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 above examples are for 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 the foregoing embodiments may be modified and equivalents substituted for elements thereof without departing from the scope and spirit of the disclosure. The scope of the present disclosure is defined by the appended claims.
Claims (10)
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 one-to-one correspondence, the automatic test method comprising:
transmitting control signals to the plurality of switches to control the plurality of switches to be turned on;
under the condition that the switches are conducted, controlling to apply load pressure to the server so as to enable the working performance parameters of the server to reach the maximum preset parameters, and controlling the server to be in a first working state;
according to a preset redundancy mode, controlling a part of switches in the plurality of switches to be disconnected and the rest of switches to be connected so as to enable the server to be in a second working state;
judging whether the working performance of the server in the second working state is lower than a preset performance according to the power supply power of the redundant power supply and the working performance parameters reflecting the working performance of the server in the first working state and the second working state respectively so as to obtain a first judging 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 so as to obtain a second judging result;
Judging whether the server is in the second working state or not to obtain a third judging result;
under the condition that the first judging result, the second judging result and the third judging result are all negative, determining that the power supplies connected with the rest switches in the plurality of power supplies meet the requirements;
If at least one of the first judgment result, the second judgment result and the third judgment result is yes, determining that the power supply connected with the rest switches does not meet the requirement;
If a first difference between the power supply of the redundant power supply under the condition that the server is in the first working state and the power supply of the redundant power supply under the condition that the server is in the second working state is larger than a first preset value, the first judgment result is that the first preset value is larger than 0;
If a second difference between the working performance parameter of the server in the first working state and the working performance parameter of the server in the second working state is larger than a second preset value, the first judgment result is that the second preset value is larger than 0;
and if the first difference value is not greater than the first preset value and the second difference value is not greater than the second preset value, the first judgment result is no.
2. The automatic test method of claim 1, wherein controlling the application of load pressure to the server comprises:
And controlling the test program arranged on the server to be executed.
3. The automatic test method of claim 1, wherein the preset redundancy modes include at least one redundancy mode, each redundancy mode including a plurality of combination modes;
The controlling, according to a preset redundancy manner, a part of the switches to be turned off and the rest to be turned on so that the server is in a second working state includes:
And respectively controlling the partial switch to be turned off and the rest switches to be turned on according to each combination mode in each redundancy mode, wherein at least one of the partial switches in different combination modes is different.
4. The automatic test method of claim 3 wherein separately controlling the partial switch to be turned off and the remaining switches to be turned on in each combination of each redundancy scheme comprises:
and after the partial switches are controlled to be opened and the rest switches are controlled to be closed according to each combination mode, the partial switches in the combination mode are controlled to be closed.
5. An automatic test equipment of a redundant power supply, the redundant power supply including a plurality of power supplies, the plurality of power supplies being connected with a server via a plurality of switches of one-to-one correspondence, the automatic test equipment comprising:
a transmission module configured to transmit a control signal to the plurality of switches to control the plurality of switches to be turned on;
The control module is configured to control the application of load pressure to the server under the condition that the plurality of switches are conducted so as to enable the working performance parameters of the server to reach the maximum preset parameters, and therefore the server is controlled to be in a first working state; and controlling a part of the switches to be disconnected and the rest to be connected according to a preset redundancy mode so as to enable the server to be in a second working state;
The determining module is configured to determine whether the working performance of the server in the second working state is lower than a preset performance according to the power supply power of the redundant power supply and the working performance parameter reflecting the working performance of the server in the first working state and the second working state respectively, so as to obtain a first determination 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 so as to obtain a second judging result; judging whether the server is in the second working state or not to obtain a third judging result; under the condition that the first judging result, the second judging result and the third judging result are all negative, determining that the power supplies connected with the rest switches in the plurality of power supplies meet the requirements; if at least one of the first judgment result, the second judgment result and the third judgment result is yes, determining that the power supply connected with the rest switches does not meet the requirement;
If a first difference between the power supply of the redundant power supply under the condition that the server is in the first working state and the power supply of the redundant power supply under the condition that the server is in the second working state is larger than a first preset value, the first judgment result is that the first preset value is larger than 0;
If a second difference between the working performance parameter of the server in the first working state and the working performance parameter of the server in the second working state is larger than a second preset value, the first judgment result is that the second preset value is larger than 0;
and if the first difference value is not greater than the first preset value and the second difference value is not greater than the second preset value, the first judgment result is no.
6. An automatic test equipment of redundant power supply, comprising:
A memory; and
A processor coupled to the memory, the processor configured to perform the automatic test method of any of claims 1-4 based on instructions stored in the memory.
7. An automatic test system for redundant power supplies, comprising:
An automatic test equipment for redundant power supply according to any one of claims 5 to 6; and
And the plurality of switches are in one-to-one correspondence with the plurality of power supplies, and the plurality of power supplies are connected with the server through the plurality of switches.
8. The automatic test system of claim 7, 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 a control instruction of the automatic testing device.
9. The automatic test system of claim 8, wherein the pressure applying device is configured to execute a program under test to apply load pressure to the server in response to the control instructions.
10. A computer readable storage medium having stored thereon computer program instructions, wherein the instructions when executed by a processor implement the automatic test method of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010646029.2A CN113917355B (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 CN113917355B (en) | 2020-07-07 | 2020-07-07 | Automatic test method, device and system for redundant power supply |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113917355A CN113917355A (en) | 2022-01-11 |
CN113917355B true CN113917355B (en) | 2024-09-03 |
Family
ID=79231619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010646029.2A Active CN113917355B (en) | 2020-07-07 | 2020-07-07 | Automatic test method, device and system for redundant power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113917355B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102654845A (en) * | 2011-03-02 | 2012-09-05 | 鸿富锦精密工业(深圳)有限公司 | Power supply testing system and method |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7624303B2 (en) * | 2006-08-23 | 2009-11-24 | Micrel, Inc. | Generation of system power-good signal in hot-swap power controllers |
TW201237610A (en) * | 2011-03-01 | 2012-09-16 | Hon Hai Prec Ind Co Ltd | System and method for testing power supplies |
CN102522809B (en) * | 2011-12-20 | 2015-05-13 | 浪潮(北京)电子信息产业有限公司 | System and method for achieving power redundancy |
CN107478996B (en) * | 2017-07-28 | 2020-05-19 | 苏州浪潮智能科技有限公司 | Detection and maintenance method and device for server power supply system |
CN107907838A (en) * | 2017-11-22 | 2018-04-13 | 郑州云海信息技术有限公司 | A kind of redundant power module tests system and method |
CN109975721B (en) * | 2017-12-27 | 2022-05-20 | 中兴通讯股份有限公司 | Power supply monitoring method and system and power supply |
CN108983110B (en) * | 2018-04-16 | 2020-10-27 | 许继集团有限公司 | Power supply reliability detection system of converter valve monitoring equipment |
TWI682272B (en) * | 2018-06-20 | 2020-01-11 | 技嘉科技股份有限公司 | Control method of redundant power supply 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 |
-
2020
- 2020-07-07 CN CN202010646029.2A patent/CN113917355B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102654845A (en) * | 2011-03-02 | 2012-09-05 | 鸿富锦精密工业(深圳)有限公司 | Power supply testing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN113917355A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6689873B2 (en) | Techniques for offloading and onloading data to processor / coprocessor configurations | |
CN107608901B (en) | Jmeter-based testing method and device, storage medium and electronic equipment | |
US11144330B2 (en) | Algorithm program loading method and related apparatus | |
CN109324962B (en) | Method and equipment for testing application program based on cloud Internet of things technology | |
JP6785810B2 (en) | Simulator, simulation equipment, and simulation method | |
CN103455363A (en) | Command processing method, device and physical host of virtual machine | |
CN111666217A (en) | Method and apparatus for testing code | |
CN109144846B (en) | Test method and device for testing server | |
CN105468486A (en) | Method and device for testing serial ports of servers | |
CN105486998A (en) | Processor board card parameter lossless automatic test method and monitoring host device | |
CN108399136B (en) | Control method and device of serial interface and host | |
CN113917355B (en) | Automatic test method, device and system for redundant power supply | |
US8661293B2 (en) | Test architecture based on intelligent test sequence | |
CN115145786A (en) | BMC chip management method and device, computer equipment and storage medium | |
CN113760750B (en) | Intelligent device testing method and device, electronic device and storage medium | |
US9497253B2 (en) | Authorization review system | |
CN111330281B (en) | Game data processing method, game data processing device, medium, and electronic device | |
CN110069417B (en) | A/B test method and device | |
US8560650B2 (en) | Network device and method for setting parameters of the network device | |
CN113778842B (en) | Fault-tolerance testing method, device, electronic device and storage medium | |
US12321248B2 (en) | Method and system for generating activity report of testbench components in a test environment | |
CN114553705B (en) | Dynamic capacity expansion method and device for server, electronic equipment and storage medium | |
JP6750299B2 (en) | Information processing system | |
CN110888665B (en) | Method, device, equipment and storage medium for submitting changed content | |
CN120255675A (en) | Hard disk heat dissipation control method, device, equipment and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |