Network equipment voltage fluctuation test method and device and storage medium

By using random voltage sequences to simulate complex power supply scenarios in the voltage fluctuation test of network equipment, the problem of poor test results of the existing technology is solved and a more efficient voltage fluctuation test is achieved.

CN118604430APending Publication Date: 2024-09-06DATANG MOBILE COMM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310240070.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

When testing the voltage fluctuations of network equipment, the existing technology has small coverage and cannot fully simulate the complex power supply scenarios of the real power grid, resulting in poor test results.

Method used

By determining the first random voltage sequence or the second random voltage sequence, where each candidate random voltage is within the range of zero to rated voltage or operating voltage, the target random voltage is randomly selected for voltage fluctuation testing to simulate a more complex power supply scenario.

Benefits of technology

It effectively improves the coverage and accuracy of voltage fluctuation testing of network equipment, can simulate the external power supply environment more realistically, stimulate and expose potential problems, and reduce hidden dangers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118604430A
    Figure CN118604430A
Patent Text Reader

Abstract

The invention provides a network equipment voltage fluctuation test method and device and a storage medium, and the method comprises the steps: determining a first random voltage sequence or a second random voltage sequence, each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and is less than or equal to the rated voltage of network equipment, and each second candidate random voltage in the second random voltage sequence is greater than or equal to zero; each second candidate random voltage in the second random voltage sequence is greater than or equal to the lower limit value of the working voltage range of the network equipment and is less than or equal to the upper limit value of the working voltage range of the network equipment; determining a target random voltage from the plurality of first candidate random voltages or the plurality of second candidate random voltages; and performing a voltage fluctuation test on the network equipment according to the target random voltage. According to the invention, the voltage fluctuation test effect of the network equipment can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device and storage medium for testing voltage fluctuations in network equipment. Background Art

[0002] When network equipment (such as communication base stations) is used in the field, the power supply environment is relatively complex, and the power supply voltage often fluctuates due to power grid or power facility failures or sudden large changes in load. If the network equipment cannot adapt to the changes in the power supply voltage, accidents such as cell decommissioning and equipment failure may occur. If the voltage fluctuation exceeds the operating range of the equipment power supply and the power supply is stuck after undervoltage protection, it may not be able to be effectively powered on after the voltage is restored. Network equipment is a core component of mobile communication networks and a key infrastructure of communication networks. If the fault cannot be restored in time, it will cause user communication interruption and increase repair time and maintenance costs.

[0003] Therefore, it is necessary to perform voltage fluctuation tests on network equipment. Summary of the invention

[0004] The present application aims to at least to some extent solve one of the technical problems in the related technology that the test coverage is small and cannot fully simulate the complex power supply scenarios of the real power grid faced by network equipment in field applications, resulting in poor voltage fluctuation test results for network equipment.

[0005] To this end, the present application is to propose a network equipment voltage fluctuation test method, device and processor-readable storage medium, which can effectively improve the voltage fluctuation test effect of the network equipment.

[0006] The network device voltage fluctuation test method proposed in the first aspect embodiment of the present application includes: determining a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to the rated voltage of the network device, and each second candidate random voltage in the second random voltage sequence is greater than or equal to the lower limit value of the working voltage range of the network device and less than or equal to the upper limit value of the working voltage range of the network device; determining a target random voltage from multiple first candidate random voltages or multiple second candidate random voltages; and performing a voltage fluctuation test on the network device according to the target random voltage.

[0007] The network equipment voltage fluctuation testing device proposed in the second aspect embodiment of the present application includes: a first determination unit, used to determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to the rated voltage of the network equipment, and each second candidate random voltage in the second random voltage sequence is greater than or equal to the lower limit value of the working voltage range of the network equipment and less than or equal to the upper limit value of the working voltage range of the network equipment; a second determination unit, used to determine a target random voltage from multiple first candidate random voltages or multiple second candidate random voltages; a testing unit, used to perform a voltage fluctuation test on the network equipment according to the target random voltage.

[0008] The network equipment voltage fluctuation testing device proposed in the third aspect embodiment of the present application includes: a memory, a transceiver, and a processor: the memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations: determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to the rated voltage of the network equipment, and each second candidate random voltage in the second random voltage sequence is greater than or equal to the lower limit value of the working voltage range of the network equipment and less than or equal to the upper limit value of the working voltage range of the network equipment; determine a target random voltage from multiple first candidate random voltages or multiple second candidate random voltages; and perform a voltage fluctuation test on the network equipment according to the target random voltage.

[0009] The processor-readable storage medium proposed in the fourth aspect embodiment of the present application stores a computer program, and the computer program is used to enable the processor to execute: the network equipment voltage fluctuation testing method proposed in the first aspect embodiment of the present application.

[0010] The network equipment voltage fluctuation test method, device and processor-readable storage medium provided by the present application support random undervoltage test or random voltage fluctuation test within the working range of the network equipment, which can effectively improve the voltage fluctuation test effect of the network equipment.

[0011] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a flowchart of a network device voltage fluctuation testing method proposed in an embodiment of the present application;

[0013] Figure 2 This is a schematic diagram of the test environment in the embodiment of the present application;

[0014] Figure 3 is a flow chart of a network device voltage fluctuation testing method proposed in another embodiment of the present application;

[0015] Figure 4 is a flow chart of a network device voltage fluctuation testing method proposed in another embodiment of the present application;

[0016] Figure 5 is a test cross-sectional schematic diagram during a random undervoltage test in an embodiment of the present application;

[0017] Figure 6 is a schematic diagram of the process of random undervoltage test in an embodiment of the present application;

[0018] Figure 7 is a flow chart of a network device voltage fluctuation testing method proposed in another embodiment of the present application;

[0019] Figure 8 It is a test cross-sectional diagram during a random voltage fluctuation test within the working range of an embodiment of the present application;

[0020] Fig. 9 It is a schematic diagram of the process of random voltage fluctuation test within the working range of the embodiment of the present application;

[0021] Fig.10 It is a schematic diagram of the structure of a network equipment voltage fluctuation testing device proposed in one embodiment of the present application;

[0022] Fig.11 It is a structural diagram of a network equipment voltage fluctuation testing device proposed in another embodiment of the present application. DETAILED DESCRIPTION

[0023] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as limiting the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.

[0024] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as limiting the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.

[0025] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0026] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] In the related technology, the voltage fluctuation test is based on voltage sag and short interruption, and the voltage fluctuation test is based on the rated voltage. The voltage drop step amplitude is relatively fixed, the number of levels is small, and each voltage drop test is performed sequentially. In this way, the test coverage is small and it is impossible to fully simulate the complex power supply scenarios of the real power grid faced by network equipment in field applications, resulting in poor voltage fluctuation test results for network equipment.

[0029] The present application is to solve the technical problem that the voltage fluctuation test effect of network equipment in the related art is not good, and provides a network equipment voltage fluctuation test method, by determining a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to the rated voltage of the network equipment, and each second candidate random voltage in the second random voltage sequence is greater than or equal to the lower limit value of the working voltage range of the network equipment and less than or equal to the upper limit value of the working voltage range of the network equipment, and determining a target random voltage from multiple first candidate random voltages or multiple second candidate random voltages, and performing a voltage fluctuation test on the network equipment according to the target random voltage, which can effectively improve the voltage fluctuation test effect of the network equipment.

[0030] The technical solution provided in the embodiment of the present application can be applicable to a variety of systems, especially 5G systems. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new radio (NR) system, etc. These various systems include terminals and network equipment. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.

[0031] Figure 1 It is a flowchart of a network equipment voltage fluctuation testing method proposed in one embodiment of the present application.

[0032] It should be noted that the execution subject of the network device voltage fluctuation test method of this embodiment is a network device voltage fluctuation test device, which can be implemented by software and / or hardware, and can be configured in an electronic device. The electronic device refers to a device that can be used to perform a voltage fluctuation test on a network device, and the electronic device can control the power supply voltage provided to the network device based on a programmable power supply, and there is no restriction on this.

[0033] The electronic device involved in the embodiments of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem, a computer device, etc. In different systems, the names of the electronic devices may also be different.

[0034] The network device can be used to convert received air frames to and from Internet Protocol (IP) packets, acting as a router between the wireless terminal and the rest of the access network, which may include an Internet Protocol (IP) communications network. The network device can also coordinate the management of attributes of the air interface.

[0035] For example, the network device involved in the embodiments of the present application may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile communications (Global System for Mobile communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary network device (evolutional Node B, eNB or e-NodeB) in the long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), or a home evolved Node B (Home evolved Node B, HeNB), a relay node, a home base station (femto), a pico base station (pico), etc., which is not limited in the embodiments of the present application. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.

[0036] Network devices and terminals can each use one or more antennas for multiple-input multiple-output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the form and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, or it can be diversity transmission, precoded transmission or beamforming transmission, etc.

[0037] This embodiment can be applied to electronic devices, wherein the electronic device can control the power supply voltage provided to the network device based on the programmable power supply to implement a voltage fluctuation test of the network device, and there is no limitation on this.

[0038] like Figure 1 As shown, the network equipment voltage fluctuation test method includes:

[0039] S101: Determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to a rated voltage of the network device, and each second candidate random voltage in the second random voltage sequence is greater than or equal to a lower limit value of an operating voltage range of the network device and less than or equal to an upper limit value of the operating voltage range of the network device.

[0040] In some embodiments, the test environment in the embodiments of the present application is illustrated by way of example. Figure 2 As shown, Figure 2 : This is a schematic diagram of the test environment in the embodiment of the present application, including a personal computer (PC), a programmable power supply, and a 5G base station. The PC and the programmable power supply are connected by a control line, and the programmable power supply and the 5G base station are connected by a power line. The 5G base station is an optional example of a network device. The programmable power supply is connected to the communication base station (5G base station) through the power line to supply power to it, and the initial power supply voltage is the rated voltage of the communication base station. The PC controls the programmable power supply through the control line. The communication base station configuration parameters can be debugged to keep the communication base station in normal working state.

[0041] In the embodiments of the present application, the network device is taken as a communication base station for example, but no limitation is made to this.

[0042] In some embodiments, the first random voltage sequence and the second random voltage sequence may be pre-set, for example, may be set based on the rated voltage of the communication base station, or may be set based on the upper limit and lower limit of the operating voltage range of the communication base station, without limitation.

[0043] In some embodiments, the first random voltage sequence may include one or more first candidate random voltages, and the second random voltage sequence may include one or more second candidate random voltages. The first candidate random voltage and the second candidate random voltage may be determined based on different methods, which is not limited.

[0044] In some embodiments, the first candidate random voltage can be any possible voltage value that is greater than or equal to zero and less than or equal to the rated voltage of the network device, and the second candidate random voltage can be any possible voltage value that is greater than or equal to the lower limit value of the operating voltage range of the network device and less than or equal to the upper limit value of the operating voltage range of the network device, without limitation.

[0045] In some embodiments, the first candidate random voltage and / or the second candidate random voltage may be selected to perform a voltage fluctuation test on the network device, without limitation.

[0046] In some embodiments, the scheme for performing voltage fluctuation test based on the first candidate random voltage may be referred to as test scheme A, and the scheme for performing voltage fluctuation test based on the second candidate random voltage may be referred to as test scheme B, where test scheme A refers to a random undervoltage test. The voltage fluctuation applicable to the power supply may exceed the normal operating voltage range of the communication base station. Through the random undervoltage test, it can be verified whether the communication base station can operate normally after the voltage fluctuation and recovery to the normal operating voltage. Test scheme B refers to a random voltage fluctuation test within the working range. The voltage fluctuation applicable to the power supply does not exceed the normal operating voltage range of the communication base station. Through the random voltage fluctuation test within the working range, it can be verified whether the communication base station can maintain normal operation during the voltage fluctuation.

[0047] In some embodiments, the random undervoltage test and the random voltage fluctuation test within the working range may be performed using the same test environment, and may be performed based on comprehensive considerations of needs when performing voltage fluctuation tests on communication base stations, without limitation.

[0048] That is to say, the voltage fluctuation test may be performed using the first random voltage sequence, or the second random voltage sequence, or the voltage fluctuation test may be performed using a combination of the first random voltage sequence and the second random voltage sequence, without limitation.

[0049] In some embodiments, considering that the site power supply conditions of the communication base station are relatively complex, the two test schemes can be preferably combined to perform voltage fluctuation tests, so as to effectively verify whether the communication base station can work normally after the voltage fluctuation and recovery to the normal working voltage, and whether the communication base station can maintain normal working ability during the voltage fluctuation within the working range, so as to make the test effect more sufficient. If the power supply conditions are confirmed to be controllable and the power supply voltage will only fluctuate within the normal working range, only test scheme B can be selected for voltage fluctuation testing, which is more targeted and saves test time.

[0050] S102: Determine a target random voltage from a plurality of first candidate random voltages or a plurality of second candidate random voltages.

[0051] After determining the first random voltage sequence or the second random voltage sequence, a first candidate random voltage can be selected from multiple first candidate random voltages as the target random voltage, or a second candidate random voltage can be selected from multiple second candidate random voltages as the target random voltage, or a first candidate random voltage can be selected from multiple first candidate random voltages and a second candidate random voltage can be selected from multiple second candidate random voltages, and the selected first candidate random voltage and the second candidate random voltage can be used together as the target random voltage, without limitation.

[0052] S103: Performing a voltage fluctuation test on the network device according to the target random voltage.

[0053] In some embodiments, a voltage fluctuation test may be performed on a network device based on a target random voltage, without limitation.

[0054] For example, a PC can drive a programmable power supply to adjust the power supply voltage of a communication base station to a target random voltage, that is, the communication base station is powered based on the target random voltage, the output current of the communication base station is determined, and the working condition of the communication base station is determined based on the output current to perform a voltage fluctuation test, and there is no restriction on this.

[0055] In this embodiment, since the target random voltage for the voltage fluctuation test on the network device is greater than or equal to zero and less than or equal to the rated voltage of the network device, or the target random voltage is greater than or equal to the lower limit of the operating voltage range of the network device and less than or equal to the upper limit of the operating voltage range of the network device, and the target random voltage is randomly selected from the first random voltage sequence or the second random voltage sequence, it is possible to support random undervoltage testing of the network device or random voltage fluctuation testing within the working range, which can effectively improve the voltage fluctuation testing effect of the network device.

[0056] In some embodiments of the present application, the first random voltage sequence or the second random voltage sequence can be determined based on the following method: obtaining test parameters, and determining the first random voltage sequence or the second random voltage sequence according to the test parameters, wherein the test parameters include the rated voltage of the network device, the first voltage step amplitude between different first candidate random voltages, the number of test cycles, the upper limit value of the working voltage range of the network device, the lower limit value of the working voltage range of the network device, and one or more of the second voltage step amplitudes between different second candidate random voltages, which can effectively improve the generation effect of the first random voltage sequence or the second random voltage sequence, improve the coverage of the first candidate random voltage or the first candidate random voltage, and improve the accuracy of the voltage fluctuation test of the network device.

[0057] In some embodiments, each first candidate random voltage or each second candidate random voltage can be analyzed and determined according to test parameters, such as based on a model, based on a mathematical algorithm, or based on experience, without limitation.

[0058] Among them, the voltage step amplitude between different first candidate random voltages can be called the first voltage step amplitude, and the voltage step amplitude between different second candidate random voltages can be called the second voltage step amplitude, and there is no limitation on this.

[0059] In some embodiments of the present application, the first voltage step amplitude is related to the rated voltage of the network device, so that multiple first candidate random voltages can effectively cover personalized undervoltage conditions in the working scenarios of the network device and improve the voltage fluctuation test coverage.

[0060] In some embodiments of the present application, the second voltage step amplitude is related to the upper limit value of the working voltage range of the network device and the lower limit value of the working voltage range of the network device, so that multiple second candidate random voltages can effectively cover the personalized working voltage conditions in the working scenarios of the network device and improve the voltage fluctuation test coverage.

[0061] Figure 3 It is a flow chart of a network equipment voltage fluctuation testing method proposed in another embodiment of the present application.

[0062] like Figure 3 As shown, the network equipment voltage fluctuation test method includes:

[0063] S301: Obtain test parameters, wherein the test parameters include at least one of the following: a rated voltage of the network device; a first voltage step amplitude between different first candidate random voltages; a number of test cycles; an upper limit value of an operating voltage range of the network device; a lower limit value of an operating voltage range of the network device; and a second voltage step amplitude between different second candidate random voltages.

[0064] For example, U τ It can be used to represent the rated voltage of a communication base station (an optional example of a network device). To simplify the test scheme, it is generally an integer. The power supply of a communication base station is generally a negative voltage. To simplify the calculation, all voltages in this application are expressed in their absolute values. In actual application, just pay attention to the positive and negative values; ΔU A It can be used to represent the step amplitude with the smallest voltage fluctuation in the test sequence (the step amplitude with the smallest voltage fluctuation in the test sequence can be an optional example of the first voltage step amplitude), and the actual voltage fluctuation change value in each test cycle is an integer multiple of this value. A Generally, you can take U τ If U τis 48V, then ΔU A You can choose 1V, 2V, 3V, 4, 6V, 8V, 12V, 24V, 48V, etc., so that the first random voltage sequence can include 0V (drop to 0V) and U while ensuring the same interval. τ (Not falling) These two typical states. ΔU A It can also be a decimal, not necessarily an integer. A The smaller the value, the smaller the step size. The more voltage values ​​are covered during the test. You can select the appropriate ΔU according to your needs. A The value m can be used to represent the number of cycles of voltage change in the test sequence (the number of cycles can be an optional example of the number of test cycles). The number of cycles of voltage change can be determined based on the total test time required by the test. The more cycles there are, the longer the total test time is, and the more thorough the test is. There is no restriction on this.

[0065] For example, U H It can be used to indicate the upper limit of the working voltage range of the communication base station. It can be obtained by querying the equipment specifications or by voltage stepping test. In order to simplify the test plan, it is generally taken as an integer; U L It can be used to indicate the lower limit of the working voltage range of a communication base station. It can be obtained by querying the equipment specifications or by voltage stepping test. In order to simplify the test plan, it is generally taken as an integer; ΔU B It can be used to represent the minimum step amplitude of voltage fluctuation in the test sequence (the minimum step amplitude of voltage fluctuation can be an optional example of the second voltage step amplitude), and the actual voltage fluctuation change value in each test cycle is an integer multiple of this value. B Generally, you can take U H -U L If U H is 60V, U L is 36V, then U H -U L For 24V, ΔU B You can choose 1V, 2V, 3V, 4V, 6V, 8V, 12V, 24V, etc., so that the second random voltage sequence can contain U while ensuring the same interval. L and U H The two typical states, ΔU B It can also be a decimal, not necessarily an integer, ΔU B The smaller the value, the smaller the step size. More voltage values ​​are covered during the test. You can select the appropriate ΔU according to your needs. BValue. n can be used to represent the number of cycles of voltage change in the test sequence (the number of cycles of voltage change can be another optional example of the number of test cycles), and the number of cycles of voltage change can be determined according to the total test time required by the test. The more cycles there are, the longer the total test time is, and the more complete the test is, and there is no limit to this.

[0066] In some embodiments, the test parameters may also include some parameters for performing actual voltage fluctuation testing, which is not limited.

[0067] S302: Determine a first random voltage sequence according to the rated voltage, the first voltage step amplitude, and the number of test cycles.

[0068] In some embodiments, the first random voltage sequence may be determined in combination with the rated voltage, the first voltage step amplitude, and the number of test cycles, which is not limited.

[0069] For example, generate a random voltage sequence U A , random voltage sequence U A is an optional example of the first random voltage sequence. The first random voltage sequence to be applied in the random undervoltage test can be denoted as U A , the generation method is as follows:

[0070]

[0071] in, To use the function to generate m items, each item has a value range of The integer in the random sequence with a step length of 1 is multiplied by ΔU A , the number of items that can be generated is m, where m represents the number of test cycles and the value range of each item is [0,U τ ], step length is ΔU A The first random voltage sequence, U Am is an optional example of the first candidate random voltage.

[0072] S303: Determine a second random voltage sequence according to an upper limit value of the operating voltage range of the network device, a lower limit value of the operating voltage range of the network device, and a second voltage step amplitude.

[0073] In some embodiments, the second random voltage sequence may be determined in combination with an upper limit value of the operating voltage range of the network device, a lower limit value of the operating voltage range of the network device, and the second voltage step amplitude, and there is no limitation to this.

[0074] For example, generate a random voltage sequence U B , random voltage sequence U Bis an optional example of the second random voltage sequence. When performing a random voltage fluctuation test on a network device within a working range, a random voltage sequence U B , the generation method is as follows:

[0075]

[0076] Among them, {U L ,U L ,...,U L} is a number of items n, n represents the number of test cycles, and each value is U L The sequence of U L is an optional example of the second candidate random voltage, To use the function to generate n items, each item has a value range of The integer in the random sequence with a step length of 1 is multiplied by ΔU B , the number of items that can be generated is n, and the value range of each item is [0,U H -U L ], step length is ΔU B A random sequence, plus {U L ,U L ,...,U L}, the number of items is n, and the value range of each item is [U L ,U H ], step length is ΔU B A second random voltage sequence.

[0077] S304: Determine a target random voltage from a plurality of first candidate random voltages or a plurality of second candidate random voltages.

[0078] After determining the first random voltage sequence or the second random voltage sequence, the random voltage sequence U A A first candidate random voltage is selected as the target random voltage from the random voltage sequence U B A second candidate random voltage is selected as the target random voltage from the random voltage sequence U A Select a first candidate random voltage from the random voltage sequence U B A second candidate random voltage is selected from the random voltages, and the selected first candidate random voltage and the second candidate random voltage are used together as the target random voltage, without any restriction.

[0079] S305: Perform a voltage fluctuation test on the network device according to the target random voltage.

[0080] In some embodiments of the present application, different first candidate random voltages correspond to different test cycles, and different second candidate random voltages correspond to different test cycles. It is also possible to determine a first candidate random voltage corresponding to each test cycle from multiple first candidate random voltages as a target random voltage, or to determine a second candidate random voltage corresponding to each test cycle from multiple second candidate random voltages as a target random voltage, thereby effectively improving the comprehensiveness and flexibility of the test.

[0081] That is to say, in the embodiment of the present application, multiple test cycles can be configured to perform a comprehensive voltage fluctuation test on the network equipment based on the multiple test cycles. The test duration of different test cycles can be the same or different, and there is no restriction on this.

[0082] In some embodiments, the test period can also be a type of test parameter. The test period can be expressed as T P It said that there is no restriction on this.

[0083] In some embodiments, the number of test cycles can be configured to be the same as the number of first candidate random voltages, or the number of test cycles can be configured to be the same as the number of second candidate random voltages. Then, a corresponding first candidate random voltage or a second candidate random voltage can be configured for each test cycle. Then, when a voltage fluctuation test is performed based on a test cycle, the first candidate random voltage or the second candidate random voltage corresponding to the test cycle can be selected for testing, without any restriction.

[0084] In this embodiment, it is possible to support random undervoltage testing of network equipment or random voltage fluctuation testing within the working range, which can effectively improve the voltage fluctuation test effect of network equipment. It can effectively improve the generation effect of the first random voltage sequence or the second random voltage sequence, improve the coverage of the first candidate random voltage or the first candidate random voltage, and improve the accuracy of the voltage fluctuation test of network equipment. It can also effectively improve the comprehensiveness of the test and the flexibility of the test. The random sequence of voltage fluctuation values ​​is generated by the random number method, with a wider voltage coverage range, more random voltage changes, smaller steps, and more test cycles. It can more realistically simulate the complexity of the external power supply environment, fit the working environment of the network equipment better, and more easily stimulate and expose product problems, and eliminate hidden dangers in a timely manner.

[0085] Figure 4 It is a flow chart of a network equipment voltage fluctuation testing method proposed in another embodiment of the present application.

[0086] This embodiment provides an implementation method for performing a random undervoltage test on a network device. For details, see the following description:

[0087] like Figure 4 As shown, the network equipment voltage fluctuation test method includes:

[0088] S401: Determine a first random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to a rated voltage of a network device.

[0089] S402: Determine a target random voltage from a plurality of first candidate random voltages.

[0090] S403: Determine a first test duration corresponding to the target random voltage.

[0091] S404: Determine a second test duration corresponding to a rated voltage of the network device, wherein the second test duration is greater than a duration required to start the network device, and a sum of the first test duration and the second test duration is equal to a duration of a test cycle.

[0092] Among them, the first test duration indicates the duration of powering the network device based on the target random voltage within a test cycle, and the second test duration indicates the duration of powering the network device based on the rated voltage within a test cycle. The sum of the first test duration and the second test duration is equal to the duration of a test cycle, and there is no limit on this.

[0093] For example, the test period T P , which can represent the time required for testing each test cycle, T P =T L +T H , T L Indicates the time during which the power supply voltage of the network device is adjusted to the fluctuating voltage in each test cycle (the time during which the power supply voltage is adjusted to the fluctuating voltage can be an optional example of the first test duration, and the fluctuating voltage is an optional example of the first candidate random voltage). T can be determined according to the test requirements. L Duration, generally can be set to 5 seconds, T H It can be used to indicate the time during which the power supply voltage of the network device is adjusted to the rated voltage in each test cycle (the time during which the power supply voltage is adjusted to the rated voltage is an optional example of the second test duration), T H It can be longer than the time required for network equipment to start up, ensuring that if the base station is powered off due to undervoltage protection, the power supply voltage will return to the rated voltage and last for T H After that, it can start normally and reach normal working state. For example, the time required for the device to start normally plus 30 seconds can be taken as T H , there is no restriction on this.

[0094] In some embodiments, T α Can be used to indicate the total test time, T α =mTp , m is the number of test cycles during the random undervoltage test, T P This is a test cycle and there is no restriction on this.

[0095] S405: Perform a voltage fluctuation test on the network device according to the target random voltage, the first test duration, and the second test duration.

[0096] In some embodiments, the test profile may be determined based on the test parameters and the first random voltage sequence, such as Figure 5 As shown, Figure 5 is a schematic diagram of a test cross section during a random undervoltage test in an embodiment of the present application, Figure 5 The meanings of the symbols in can be found in the above embodiments and will not be repeated here. After determining the test profile, a test script can be generated according to the test parameters (including the first test duration and the second test duration), the first candidate random voltage in the first random voltage sequence, the test profile and the test criteria (see the following description). Then, the test script is executed by the PC to control the programmable power supply, adjust the power supply voltage, and test the corresponding current value. The current value is used for voltage fluctuation testing, and there is no limitation on this.

[0097] In some embodiments, an optional example of the corresponding current value to be tested may be, for example, I τ , I τ Indicates the current value of the communication base station working under rated voltage conditions. τ Can be used for voltage fluctuation testing without restriction.

[0098] In some embodiments of the present application, in the process of performing a voltage fluctuation test on a network device according to a target random voltage, a first test duration, and a second test duration, at the beginning of each test cycle, the rated voltage applied to the network device is switched to the target random voltage applied, and in response to the time elapsed after the switch to applying the target random voltage reaching the first test duration, the target random voltage applied to the network device is switched back to applying the rated voltage, and in response to the time elapsed after the switch back to applying the rated voltage and the second test duration satisfying a preset condition, the first working current of the network device at the rated voltage is obtained, and according to the first working current, a voltage fluctuation test of the corresponding test cycle is performed, so as to achieve an effective random undervoltage test on the network device and effectively verify the ability of the network device to operate normally after the voltage fluctuation and recovery to the normal operating voltage.

[0099] That is to say, in the embodiment of the present application, it is supported to perform a voltage fluctuation test based on the above-mentioned implementation method within each test cycle. The rated voltage can be applied to the network device in the initial stage, and when the start time of a certain test cycle is detected, the rated voltage applied to the network device is switched to the target random voltage applied, and the target random voltage is a first candidate random voltage corresponding to the current test cycle selected from the first random voltage sequence. As the voltage fluctuation test of each test cycle is sequentially executed, the first candidate random voltage corresponding to the current test cycle can also be sequentially selected from the first random voltage sequence, and then, the target random voltage is maintained to be applied to the network device. If the time after switching to apply the target random voltage reaches the first test time, the target random voltage applied to the network device can be switched back to apply the rated voltage, and the rated voltage is maintained to be applied to the network device until the time after switching back to apply the rated voltage and the second test time meet the preset condition, and the first working current of the network device under the rated voltage (which can be expressed as I τ ), and then, according to the first working current, a voltage fluctuation test of a corresponding test cycle is performed without restriction.

[0100] In some embodiments, the preset condition may be, for example, that the time after switching back to applying the rated voltage is about to reach the second test time, for example, a difference of 2 seconds (s), which may be as described above. Figure 5 The triangle marks in the cross-sectional diagram shown correspond to time points, which are not limited to this.

[0101] For example, Figure 6 As shown, Figure 6 Schematic diagram of the random undervoltage test process in the embodiment of the present application, step A1: build a test environment; step A2: determine the test parameters; step A3: generate a random voltage sequence U A ; Step A4: determine the test profile; Step A5: generate a test script; Step A6: execute the test script; Step A6-1: apply voltage in sequence according to the sequence (the sequence is an optional example of the first random sequence, and the applied voltage is an optional example of the target random voltage), the initial state of the device is rated voltage power supply, after the initial state is confirmed, start the test, and in the first cycle (the cycle is an optional example of the test cycle), first adjust the voltage to U A1 , duration T L (Duration T L , is an optional example of the first test duration), and then adjust the voltage to the rated voltage U τ , duration T H (Duration T H , is an optional example of the second test duration); in the second cycle, the voltage is first adjusted to U A2 , duration T L , and then adjust the voltage to the rated voltage Uτ , duration T H , and so on; Step A6-2: Determine I in each cycle τ Is it normal? For example, before the end of each cycle (the test time is short, and the test can be performed 2 seconds before the end of the cycle, as shown by the triangle mark in the cross-sectional diagram), the programmable power supply is used to test the device's operating current I τ (Working current I τ , is an optional example of the first working current), and determines whether it is normal. τ The criterion for whether it is normal or not can be pre-tested in advance to determine the minimum current fluctuation I when the equipment is working normally under rated voltage conditions. τmin , I τ Greater than or equal to I τmin , then I τ Normal, otherwise abnormal. τ Normal, it means that the test of this cycle has passed, and the test script can be continued to be executed for the next cycle test. τ If it is not normal, the device status is abnormal and needs to be rectified before continuing the test; Step A6-3: Whether the script has been executed. After each cycle test is passed, if the script has not yet executed all test cycles, continue the test. If all cycles have been executed, the test passes and ends; Step A7: Equipment rectification. For abnormal device status found during the execution of the test script, analyze and rectify it, and re-execute the test script after rectification; Step A8: Test passed and ended. After the test is completed and passed, write a test report and the task is completed.

[0102] In this embodiment, a random undervoltage test is performed to determine whether the voltage fluctuation exceeds the normal voltage operating range of the network device. The undervoltage range covers from 0V to the rated voltage, which can verify the ability of the network device to work normally after the voltage fluctuation and recovery to the normal working voltage. The working current of the network device is used to determine whether it is in a normal working state during the voltage fluctuation test. This is simple, easy, and quick to test, requires few resources, and can improve test efficiency.

[0103] Figure 7 It is a flow chart of a network equipment voltage fluctuation testing method proposed in another embodiment of the present application.

[0104] This embodiment provides an implementation method for performing a random voltage fluctuation test on a network device within a working range, and the details are described below:

[0105] like Figure 7 As shown, the network equipment voltage fluctuation test method includes:

[0106] S701: Determine a second random voltage sequence, wherein each second candidate random voltage in the second random voltage sequence is greater than or equal to a lower limit value of an operating voltage range of the network device, and less than or equal to an upper limit value of the operating voltage range of the network device.

[0107] S702: Determine a target random voltage from a plurality of second candidate random voltages.

[0108] S703: Determine a third test duration corresponding to the target random voltage, wherein the third test duration is equal to a duration of a test cycle.

[0109] Among them, the third test duration represents the duration of powering the network device based on the target random voltage within a test cycle. The third test duration is equal to the duration of a test cycle, and there is no restriction on this.

[0110] In some embodiments, the third test duration may also be a test parameter, which is not limited.

[0111] In some embodiments, since the third test duration may be equal to the duration of a test cycle, T P is the test period, then the third test duration can also be T P It said that there is no restriction on this.

[0112] In some embodiments, T α Can be used to indicate the total test time, T α =nT P , n is the number of test cycles during the random voltage fluctuation test within the working range, T P This is a test cycle and there is no restriction on this.

[0113] S704: Perform a voltage fluctuation test on the network device according to the target random voltage and the third test duration.

[0114] In some embodiments, the test profile may be determined based on the test parameters and the second random voltage sequence, such as Figure 8 As shown, Figure 8 is a schematic diagram of a test cross section during a random voltage fluctuation test within the working range of an embodiment of the present application, Figure 8 The meaning of the symbols in can be found in the above embodiments and will not be repeated here. After determining the test profile, a test script can be generated according to the test parameters (including the third test duration), the second candidate random voltage in the second random voltage sequence, the test profile and the test criteria (see the following description). Then, the test script is executed by the PC to control the programmable power supply, adjust the power supply voltage, and test the corresponding current value. The current value is used for voltage fluctuation testing, and there is no limitation on this.

[0115] In some embodiments, an optional example of the corresponding current value to be tested may be, for example, I B , indicating that the communication base station voltage fluctuates to U B The current value under voltage conditions, I B are different values, such as in the first cycle, I B1 For voltage fluctuations to U B1 The current value under the working condition, in the second cycle, I B2 For voltage fluctuations to U B2 The current value working under the conditions, and so on, can then be used to perform a voltage fluctuation test based on the corresponding current value tested, without any restriction.

[0116] In some embodiments, it can be determined that H-min , which indicates the upper limit value U of the communication base station in the working voltage range H The minimum current fluctuation when working under the conditions can be determined by pre-testing in advance, and the I B with I H-min A comparison is performed and a voltage fluctuation test is performed based on the comparison result. There is no restriction on this.

[0117] In some embodiments of the present application, in the process of performing a voltage fluctuation test on a network device according to a target random voltage and a third test duration, at the beginning of each test cycle, the process may be to switch from applying a rated voltage to the network device to applying a target random voltage, and in response to the time elapsed after switching to applying the target random voltage and the third test duration satisfying a preset condition, obtain a second operating current of the network device under the target random voltage, and perform a voltage fluctuation test of the corresponding test cycle based on the second operating current, which can effectively verify whether the network device can maintain its ability to operate normally during voltage fluctuations within the working range, thereby making the test effect more sufficient.

[0118] For example, Fig. 9 As shown, Fig. 9 Schematic diagram of the process of random voltage fluctuation test within the working range of the embodiment of the present application, step B1: build a test environment; step B2: determine the test parameters; step B3: generate a random voltage sequence U B , random voltage sequence U B is an optional example of the second random voltage sequence; step B4: determine the test profile; step B5: generate a test script; step B6-1: apply voltage in sequence according to the sequence, the sequence is an optional example of the second random voltage sequence, the applied voltage is an optional example of the target random voltage, the initial state of the device is rated voltage power supply, after the initial state is confirmed, start the test, and the voltage is adjusted to U in the first cycle (an optional example of the test cycle)B1 , duration T P (Duration T P is an optional example of the third test duration); the voltage is adjusted to U in the second cycle B2 , duration T P , and so on; Step B6-2: Determine I in each cycle B (I B is an optional example of the second working current) is normal, before the end of each cycle (the test takes a short time, and can be tested 2 seconds before the end of the cycle, refer to Figure 8 The device operating current I is tested by programmable power supply. B , and judge whether it is normal. B If greater than or equal to I H-min , then I B Normal, otherwise abnormal. B Normal, it means that the test of this cycle has passed, and the test script can be continued to be executed for the next cycle test. B If it is not normal, the device status is abnormal and needs to be rectified before continuing the test; Step B6-3: Whether the script has been executed. After each cycle test is passed, if the script has not yet executed all test cycles, continue the test; if all cycles have been executed, the test passes and ends. Step B7: Equipment rectification. For abnormal device status found during the execution of the test script, analyze and rectify it, and re-execute the test script after rectification; Step B8: Test passed, end, the test is completed and the test passes, write a test report, and the task is completed.

[0119] In this embodiment, a random voltage fluctuation test within the working range is performed to determine whether the voltage fluctuation exceeds the normal voltage working range of the network device. The fluctuation voltage range can cover the entire working voltage range of the network device, and can verify whether the network device can maintain normal working capabilities during voltage fluctuations. Using the working current of the network device to determine whether it is in a normal working state during the voltage fluctuation test is simple, easy, and quick to test, requiring few resources, and can improve test efficiency.

[0120] Fig.10 It is a schematic diagram of the structure of a network equipment voltage fluctuation testing device proposed in one embodiment of the present application.

[0121] like Fig.10 As shown, the network equipment voltage fluctuation testing device 100 comprises:

[0122] The first determination unit 1001 is used to determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to a rated voltage of the network device, and each second candidate random voltage in the second random voltage sequence is greater than or equal to a lower limit value of a working voltage range of the network device and less than or equal to an upper limit value of the working voltage range of the network device.

[0123] The second determining unit 1002 is configured to determine a target random voltage from a plurality of first candidate random voltages or a plurality of second candidate random voltages.

[0124] The testing unit 1003 is used to perform a voltage fluctuation test on the network device according to the target random voltage.

[0125] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0126] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium.

[0127] Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0128] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.

[0129] In this embodiment, since the target random voltage for the voltage fluctuation test on the network device is greater than or equal to zero and less than or equal to the rated voltage of the network device, or the target random voltage is greater than or equal to the lower limit of the operating voltage range of the network device and less than or equal to the upper limit of the operating voltage range of the network device, and the target random voltage is randomly selected from the first random voltage sequence or the second random voltage sequence, it is possible to support random undervoltage testing of the network device or random voltage fluctuation testing within the working range, which can effectively improve the voltage fluctuation testing effect of the network device.

[0130] Fig.11 It is a structural diagram of a network equipment voltage fluctuation testing device proposed in another embodiment of the present application.

[0131] See also Fig.11 The network equipment voltage fluctuation test device 110 includes a memory 1101, a transceiver 1102, a processor 1103 and a user interface 1104: the memory 1101 is used to store computer programs; the transceiver 1102 is used to send and receive data under the control of the processor 1103; the processor 1103 is used to read the computer program in the memory 1101 and perform the following operations:

[0132] Determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to a rated voltage of the network device, and each second candidate random voltage in the second random voltage sequence is greater than or equal to a lower limit value of a working voltage range of the network device and less than or equal to an upper limit value of the working voltage range of the network device;

[0133] Determine a target random voltage from a plurality of first candidate random voltages or a plurality of second candidate random voltages;

[0134] Perform voltage fluctuation tests on network devices based on target random voltage.

[0135] Among them, Fig.11In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1103 and various circuits of memory represented by memory 1101 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1102 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, which may include wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 1104 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0136] The processor 1103 is responsible for managing the bus architecture and general processing, and the memory 1101 can store data used by the processor 1103 when performing operations.

[0137] Optionally, the processor 1103 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.

[0138] The processor calls the computer program stored in the memory to execute any method provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0139] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.

[0140] In order to implement the above-mentioned embodiment, the embodiment of the present application proposes a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute a network device voltage fluctuation test method.

[0141] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0142] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0143] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0144] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0145] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0146] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.

[0147] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0148] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0149] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0150] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0151] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0152] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0153] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A network equipment voltage fluctuation test method, characterized in that: The method comprises: Determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to a rated voltage of the network device, and each second candidate random voltage in the second random voltage sequence is greater than or equal to a lower limit value of an operating voltage range of the network device and less than or equal to an upper limit value of the operating voltage range of the network device; Determine a target random voltage from a plurality of the first candidate random voltages or a plurality of the second candidate random voltages; A voltage fluctuation test is performed on the network device according to the target random voltage.

2. The method according to claim 1, characterized in that The first random voltage sequence or the second random voltage sequence is determined based on the following method: Get test parameters; determining the first random voltage sequence or the second random voltage sequence according to the test parameter; The test parameters include at least one of the following: The rated voltage of the network equipment; a first voltage step amplitude between different first candidate random voltages; Number of test cycles; An upper limit value of the operating voltage range of the network device; The lower limit of the operating voltage range of the network device; A second voltage step size between different second candidate random voltages.

3. The method according to claim 2, characterized in that The first voltage step amplitude is related to the rated voltage of the network device.

4. The method according to claim 2, characterized in that The second voltage step amplitude is related to an upper limit value of an operating voltage range of the network device and a lower limit value of the operating voltage range of the network device.

5. The method according to claim 2, characterized in that The determining the first random voltage sequence or the second random voltage sequence according to the test parameter includes: determining the first random voltage sequence according to the rated voltage, the first voltage step amplitude, and the number of test cycles; or The second random voltage sequence is determined according to an upper limit value of the operating voltage range of the network device, a lower limit value of the operating voltage range of the network device, and the second voltage step amplitude.

6. The method according to claim 1, characterized in that Different first candidate random voltages correspond to different test cycles, and different second candidate random voltages correspond to different test cycles; The determining a target random voltage from a plurality of the first candidate random voltages or a plurality of the second candidate random voltages comprises: Determine a first candidate random voltage corresponding to each of the test cycles from a plurality of the first candidate random voltages as the target random voltage; or A second candidate random voltage corresponding to each of the test cycles is determined from a plurality of the second candidate random voltages as the target random voltage.

7. The method according to any one of claims 1 to 6, characterized in that: The target random voltage is selected from a plurality of the first candidate random voltages; and the voltage fluctuation test of the network device according to the target random voltage includes: Determining a first test duration corresponding to the target random voltage; Determine a second test duration corresponding to the rated voltage of the network device, wherein the second test duration is greater than the duration required to start the network device, and the sum of the first test duration and the second test duration is equal to the duration of one test cycle; A voltage fluctuation test is performed on the network device according to the target random voltage, the first test duration, and the second test duration.

8. The method according to claim 7, characterized in that The performing a voltage fluctuation test on the network device according to the target random voltage, the first test duration, and the second test duration includes: At the beginning of each test cycle, switching from applying the rated voltage to the network device to applying the target random voltage; In response to the time duration after the switching to applying the target random voltage reaching the first test time duration, switching from applying the target random voltage to the network device back to applying the rated voltage; In response to the time length after the switching back to applying the rated voltage and the second test time length satisfying a preset condition, obtaining a first operating current of the network device under the rated voltage; A voltage fluctuation test corresponding to the test cycle is performed according to the first operating current.

9. The method according to any one of claims 1 to 6, characterized in that: The target random voltage is selected from a plurality of the second candidate random voltages; and the voltage fluctuation test of the network device according to the target random voltage comprises: Determine a third test duration corresponding to the target random voltage, wherein the third test duration is equal to the duration of one test cycle; A voltage fluctuation test is performed on the network device according to the target random voltage and the third test duration.

10. The method according to claim 9, characterized in that The performing a voltage fluctuation test on the network device according to the target random voltage and the third test duration includes: At the beginning of each test cycle, switching from applying the rated voltage to the network device to applying the target random voltage; In response to the time duration after the switching to apply the target random voltage and the third test time duration satisfying a preset condition, obtaining a second operating current of the network device under the target random voltage; A voltage fluctuation test corresponding to the test cycle is performed according to the second operating current.

11. A network equipment voltage fluctuation test device, characterized in that: The device comprises: a first determining unit, configured to determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to a rated voltage of the network device, and each second candidate random voltage in the second random voltage sequence is greater than or equal to a lower limit value of an operating voltage range of the network device and less than or equal to an upper limit value of the operating voltage range of the network device; A second determining unit, configured to determine a target random voltage from a plurality of the first candidate random voltages or a plurality of the second candidate random voltages; A testing unit is used to perform a voltage fluctuation test on the network device according to the target random voltage.

12. A network equipment voltage fluctuation test device, characterized in that: It includes memory, transceiver and processor: memory is used to store computer programs; a transceiver, configured to transmit and receive data under the control of the processor; and a processor, configured to read the computer program in the memory and perform the following operations: Determine a first random voltage sequence or a second random voltage sequence, wherein each first candidate random voltage in the first random voltage sequence is greater than or equal to zero and less than or equal to a rated voltage of the network device, and each second candidate random voltage in the second random voltage sequence is greater than or equal to a lower limit value of an operating voltage range of the network device and less than or equal to an upper limit value of the operating voltage range of the network device; Determine a target random voltage from a plurality of the first candidate random voltages or a plurality of the second candidate random voltages; A voltage fluctuation test is performed on the network device according to the target random voltage.

13. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the network device voltage fluctuation testing method according to any one of claims 1 to 10.