A BMC stability testing method, device, equipment and medium

By automatically switching the IP address type of the BMC and obtaining network detection data, the existing BMC stability test problems of low efficiency and insufficient accuracy are solved, and efficient stability testing is achieved.

CN116192686BActive Publication Date: 2024-09-17NETTRIX INFORMATION IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310187393.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-09-17
Estimated Expiration
2043-02-22

AI Technical Summary

Technical Problem

Existing BMC stability testing solutions consume a lot of manpower and time, have low testing efficiency, and cannot guarantee accuracy.

Method used

Automatically switch the BMC's IP address type through the control interface, obtain and display network detection data, and use test information and preset test times or duration to determine the completion of the stability test.

Benefits of technology

Improves testing efficiency and accuracy, and reduces labor and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116192686B
    Figure CN116192686B
Patent Text Reader

Abstract

The present invention discloses a BMC stability test method, device, equipment and medium. The method includes: obtaining test information of a BMC to be tested; wherein the test information includes: an alternative static IP address and an alternative dynamic IP address; through a control interface, according to the test information, repeatedly switching the IP address type of the BMC to be tested, obtaining the network detection data of the BMC to be tested after switching, and providing the network detection data to a target user through a test data display page. The embodiment of the present invention can automatically switch the IP address type of the BMC to be tested multiple times based on the control interface and the test information, obtain and display the network detection data of the BMC to be tested after switching, perform stability testing on the BMC to be tested, improve test efficiency and test accuracy, and reduce the manpower cost and time cost of BMC stability testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a BMC stability testing method, device, equipment and medium. Background Art

[0002] The server's baseboard management controller (BMC) is a control unit that implements server management. The server's BMC is responsible for the server's core functions such as hardware status management, operating system management, health status management, and power consumption management. The BMC's Internet Protocol (IP) address types include static IP addresses and dynamic IP addresses. The BMC can switch to different IP address types. After the BMC's IP address type is changed, the BMC should maintain stable operation. In order to ensure the stability of the server and the BMC, the server's BMC needs to be stability tested during the server development phase. In the stability test of the BMC, it is necessary to switch the BMC's IP address type multiple times to obtain the network detection data of the BMC after the switch.

[0003] In the related art, the commonly used BMC stability test scheme is: the tester manually switches the IP address type of the BMC multiple times, and then detects the network function of the BMC after the switch to obtain the network detection data of the switched BMC. The BMC stability test scheme in the related art requires the tester to manually switch the IP address type of the BMC multiple times, which consumes a lot of manpower and time costs, has low test efficiency, and cannot guarantee test accuracy. Summary of the invention

[0004] The present invention provides a BMC stability testing method, device, equipment and medium to solve the problem that the BMC stability testing scheme in the related art consumes a lot of manpower cost and time cost, has low testing efficiency and cannot guarantee testing accuracy.

[0005] According to one aspect of the present invention, a BMC stability testing method is provided, comprising:

[0006] Acquire test information of the BMC to be tested; wherein the test information includes: an alternative static IP address and an alternative dynamic IP address;

[0007] Through the control interface, according to the test information, the IP address type of the BMC to be tested is repeatedly switched, the network detection data of the BMC to be tested after the switch is obtained, and the network detection data is provided to the target user through the test data display page.

[0008] The technical solution of the embodiment of the present invention can automatically switch the IP address type of the BMC to be tested multiple times based on the control interface and test information, obtain and display the network detection data of the BMC to be tested after switching, perform stability test on the BMC to be tested, improve test efficiency and test accuracy, and reduce the manpower cost and time cost of BMC stability test.

[0009] Optionally, the test information of the BMC to be tested is obtained from a test file corresponding to the BMC to be tested.

[0010] The technical solution of the embodiment of the present invention can store and manage the test information of the BMC to be tested through the test file, so that during the test process of the BMC to be tested, the IP address type of the BMC to be tested is repeatedly switched through the control interface according to the test information of the BMC to be tested, the network detection data of the BMC to be tested after the switch is obtained, and the stability test of the BMC to be tested is performed.

[0011] Optionally, the repeatedly switching the IP address type of the BMC to be tested according to the test information through the control interface, obtaining the network detection data of the BMC to be tested after the switch, and providing the network detection data to the target user through the test data display page, includes:

[0012] Determine the current IP address type of the BMC to be tested;

[0013] If the current IP address type of the BMC to be tested is a dynamic IP address, controlling the BMC to be tested through a control interface to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested;

[0014] Performing IP address connectivity detection and web page login detection on the BMC to be tested, obtaining the connectivity detection result and the web page login detection result, and providing the connectivity detection result and the web page login detection result to the target user;

[0015] Detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration;

[0016] If the stability test of the BMC to be tested is not completed, the process returns to executing the operation of determining the current IP address type of the BMC to be tested.

[0017] The technical solution of the embodiment of the present invention can, based on the control interface and test information, automatically switch the current IP address type of the BMC to be tested to a static IP address when the current IP address type of the BMC to be tested is a dynamic IP address, and automatically obtain and display the network detection data of the switched BMC until it is determined that the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration.

[0018] Optionally, controlling the BMC to be tested to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested through a control interface includes:

[0019] A static IP setting instruction is sent to the BMC to be tested through a control interface, the BMC to be tested is controlled to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested, and static setting completion information is fed back.

[0020] The technical solution of the embodiment of the present invention can automatically switch the current IP address type of the BMC to be tested to a static IP address based on the control interface and the test information.

[0021] Optionally, performing an IP address connectivity test and a web page login test on the BMC to be tested, obtaining a connectivity test result and a web page login test result, and providing the connectivity test result and the web page login test result to the target user, comprises:

[0022] After receiving the static setting completion information fed back by the BMC to be tested, a network communication connection is established with the BMC to be tested according to the IP address of the BMC to be tested and the preset network communication protocol, a connectivity test is performed on the IP address of the BMC to be tested, a connectivity test result is obtained, and the connectivity test result is provided to the target user through a test data display page;

[0023] Sending a web page login detection instruction to the BMC to be tested through the control interface, controlling the BMC to be tested to detect the web page login function of the BMC to be tested, and feeding back the web page login detection result;

[0024] The web page login detection result fed back by the BMC to be tested is provided to the target user through the test data display page.

[0025] The technical solution of the embodiment of the present invention can automatically obtain and display the network detection data of the switched BMC after the current IP address type of the BMC to be tested is switched to a static IP address based on the control interface.

[0026] Optionally, after determining the current IP address type of the BMC to be tested, the method further includes:

[0027] If the current IP address type of the BMC to be tested is a static IP address, controlling the BMC to be tested through a control interface to set the candidate dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested;

[0028] Performing IP address connectivity detection and web page login detection on the BMC to be tested, obtaining the connectivity detection result and the web page login detection result, and providing the connectivity detection result and the web page login detection result to the target user;

[0029] Detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration;

[0030] If the stability test of the BMC to be tested is not completed, the process returns to executing the operation of determining the current IP address type of the BMC to be tested.

[0031] The technical solution of the embodiment of the present invention can, based on the control interface and test information, automatically switch the current IP address type of the BMC to be tested to a dynamic IP address when the current IP address type of the BMC to be tested is a static IP address, and automatically obtain and display the network detection data of the switched BMC until it is determined that the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration.

[0032] Optionally, detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration includes:

[0033] Add 1 to the test number of the BMC to be tested, and detect whether the test number of the BMC to be tested is equal to the preset test number;

[0034] If the test number of the BMC to be tested is equal to the preset test number, it is determined that the stability test of the BMC to be tested is completed;

[0035] If the test number of the BMC to be tested is not equal to the preset test number, it is determined that the stability test of the BMC to be tested is not completed.

[0036] The technical solution of the embodiment of the present invention can repeatedly execute the operation of switching the IP address type of the BMC to be tested based on a preset number of tests, realize automatic multiple switching of the IP address type of the BMC to be tested based on the control interface and test information, obtain the network detection data of the BMC to be tested after switching, and perform stability testing on the BMC to be tested.

[0037] According to another aspect of the present invention, there is provided a BMC stability testing device, comprising:

[0038] An information acquisition module is used to acquire test information of the BMC to be tested; wherein the test information includes: an alternative static IP address and an alternative dynamic IP address;

[0039] The BMC test module is used to repeatedly switch the IP address type of the BMC to be tested according to the test information through the control interface, obtain the network detection data of the BMC to be tested after the switch, and provide the network detection data to the target user through the test data display page.

[0040] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0041] at least one processor;

[0042] and a memory connected in network communication with the at least one processor;

[0043] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the BMC stability testing method described in any embodiment of the present invention.

[0044] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the BMC stability testing method described in any embodiment of the present invention when executed.

[0045] The technical solution of the embodiment of the present invention obtains the test information of the BMC to be tested, wherein the test information includes: an alternative static IP address and an alternative dynamic IP address; then, through a control interface, according to the test information, the IP address type of the BMC to be tested is repeatedly switched, the network detection data of the BMC to be tested after the switch is obtained, and the network detection data is provided to a target user through a test data display page, thereby solving the problem that the BMC stability test solution in the related art consumes a lot of manpower cost and time cost, the test efficiency is relatively low, and the test accuracy cannot be guaranteed. The technical solution of the embodiment of the present invention obtains the beneficial effect of automatically switching the IP address type of the BMC to be tested multiple times based on the control interface and the test information, obtaining and displaying the network detection data of the BMC to be tested after the switch, performing stability test on the BMC to be tested, improving the test efficiency and the test accuracy, and reducing the manpower cost and time cost of the BMC stability test.

[0046] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 This is a flow chart of a BMC stability testing method provided in Example 1 of the present invention.

[0049] Figure 2 This is a flow chart of a BMC stability testing method provided in Embodiment 2 of the present invention.

[0050] Figure 3 This is a flow chart of a BMC stability testing method provided in Embodiment 3 of the present invention.

[0051] Figure 4 A schematic diagram of the structure of a BMC stability testing device provided in Embodiment 4 of the present invention.

[0052] Figure 5 A schematic diagram of the structure of an electronic device for implementing the BMC stability testing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0054] It should be noted that the terms "target", "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprise", "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0055] Embodiment 1

[0056] Figure 1 A flowchart of a BMC stability test method provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation where the stability test of the BMC of the server is performed by switching the IP address type of the BMC multiple times, automatically acquiring and displaying the network detection data of the switched BMC, and the method can be executed by a BMC stability test device, which can be implemented in the form of hardware and / or software, and the BMC stability test device can be configured in an electronic device.

[0057] like Figure 1 As shown, the method includes:

[0058] Step 101: Acquire test information of the BMC to be tested.

[0059] The test information includes: an alternative static IP address and an alternative dynamic IP address.

[0060] Optionally, the BMC to be tested is one or more BMCs that need to be tested. The test information of the BMC to be tested is information related to the stability test of the BMC to be tested. The test information of the BMC to be tested includes an alternative static IP address and an alternative dynamic IP address of the BMC to be tested. The alternative static IP address of the BMC to be tested is a static IP address pre-assigned to the BMC to be tested. The alternative dynamic IP address of the BMC to be tested is a dynamic IP address pre-assigned to the BMC to be tested.

[0061] Optionally, obtaining the test information of the BMC to be tested includes: obtaining the test information of the BMC to be tested from a test file corresponding to the BMC to be tested. The test file corresponding to the BMC to be tested is a file used to store the test information of the BMC to be tested. The target user uploads the test file corresponding to the BMC to be tested to the electronic device through the terminal device. The electronic device obtains the test file corresponding to the BMC to be tested uploaded by the target user, and obtains the test information of the BMC to be tested from the test file corresponding to the BMC to be tested. The target user may be a tester.

[0062] Therefore, the test information of the BMC to be tested is stored and managed through the test file, so that during the test process of the BMC to be tested, the IP address type of the BMC to be tested is repeatedly switched through the control interface according to the test information of the BMC to be tested, the network detection data of the BMC to be tested after the switch is obtained, and the stability test of the BMC to be tested is performed.

[0063] Step 102: through the control interface, according to the test information, repeatedly switch the IP address type of the BMC to be tested, obtain the network detection data of the BMC to be tested after the switch, and provide the network detection data to the target user through the test data display page.

[0064] Optionally, the control interface is a functional interface provided in the electronic device for sending a control instruction to the BMC to be tested to control the BMC to be tested to perform a corresponding operation.

[0065] Optionally, the IP address type of the BMC to be tested includes a static IP address and a dynamic IP address. If the IP address of the BMC to be tested is a static IP address, the IP address type of the BMC to be tested is a static IP address. If the IP address of the BMC to be tested is a dynamic IP address, the IP address type of the BMC to be tested is a dynamic IP address.

[0066] Optionally, the network detection data of the BMC to be tested includes a connectivity detection result and a web page login detection result of the BMC to be tested. The connectivity detection result of the BMC to be tested is a detection result obtained by performing a connectivity detection on the IP address of the BMC to be tested. The web page login detection result of the BMC to be tested is a detection result obtained by detecting the web page login function of the BMC to be tested.

[0067] Optionally, performing connectivity detection on the IP address of the BMC to be tested refers to detecting whether the network communication connection established based on the IP address of the BMC to be tested is connected. Performing detection on the web page login function of the BMC to be tested refers to detecting whether the BMC to be tested can log in to the web page.

[0068] Optionally, the test data display page is a page used to provide the network detection data of the BMC to be tested to the user.

[0069] Optionally, the method repeatedly switches the IP address type of the BMC to be tested according to the test information through the control interface, obtains the network detection data of the BMC to be tested after the switch, and provides the network detection data to the target user through the test data display page, including: determining the current IP address type of the BMC to be tested; if the current IP address type of the BMC to be tested is a dynamic IP address, controlling the BMC to be tested through the control interface to set the alternative static IP address of the BMC to be tested as the IP address of the BMC to be tested; performing IP address connectivity detection and web page login detection on the BMC to be tested to obtain the connectivity detection result and the web page login detection result, and providing the connectivity detection result and the result to the target user; detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration; if the stability test of the BMC to be tested is not completed, returning to execute the operation of determining the current IP address type of the BMC to be tested.

[0070] Therefore, based on the control interface and test information, when the current IP address type of the BMC to be tested is a dynamic IP address, the current IP address type of the BMC to be tested can be automatically switched to a static IP address, and the network detection data of the switched BMC can be automatically obtained and displayed until the stability test of the BMC to be tested is determined to be completed according to a preset number of tests or a preset test duration.

[0071] Optionally, determining the current IP address type of the BMC to be tested includes: sending a status query instruction to the BMC to be tested through a control interface, and controlling the BMC to be tested to feedback the current IP address type of the BMC to be tested. The status query instruction is an instruction used to control the BMC to be tested to feedback the current IP address type of the BMC to be tested. The electronic device sends a status query instruction to the BMC to be tested through a control interface. After receiving the status query instruction, the BMC to be tested feeds back the current IP address type of the BMC to be tested to the electronic device, so that the electronic device determines the current IP address type of the BMC to be tested.

[0072] Optionally, controlling the BMC to be tested to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested through the control interface includes: sending a static IP setting instruction to the BMC to be tested through the control interface, controlling the BMC to be tested to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested, and feeding back static setting completion information. Thus, the current IP address type of the BMC to be tested can be automatically switched to a static IP address based on the control interface and the test information.

[0073] Optionally, the BMC to be tested is subjected to an IP address connectivity check and a web page login check to obtain the connectivity check result and the web page login check result, and the connectivity check result and the web page login check result are provided to the target user, including: after receiving the static setting completion information fed back by the BMC to be tested, according to the IP address of the BMC to be tested and the preset network communication protocol, a network communication connection is established with the BMC to be tested, a connectivity check is performed on the IP address of the BMC to be tested to obtain the connectivity check result, and the connectivity check result is provided to the target user through a test data display page; through the control interface, a web page login check instruction is sent to the BMC to be tested, the BMC to be tested is controlled to detect the web page login function of the BMC to be tested, and the web page login check result is fed back; through the test data display page, the web page login check result fed back by the BMC to be tested is provided to the target user. Thus, based on the control interface, after the current IP address type of the BMC to be tested is switched to a static IP address, the network detection data of the switched BMC can be automatically obtained and displayed.

[0074] Optionally, the static IP setting instruction is an instruction for controlling the BMC to be tested to set the alternative static IP address of the BMC to be tested as the IP address of the BMC to be tested, and to feedback static setting completion information. The static IP setting instruction carries the alternative static IP address of the BMC to be tested. The static setting completion information is preset information used to indicate that the BMC to be tested has set the alternative static IP address of the BMC to be tested as the IP address of the BMC to be tested. If the current IP address type of the BMC to be tested is a dynamic IP address, the electronic device sends a static IP setting instruction to the BMC to be tested through a control interface. After receiving the static IP setting instruction, the BMC to be tested extracts the alternative static IP address of the BMC to be tested in the static IP setting instruction, sets the alternative static IP address of the BMC to be tested as the IP address of the BMC to be tested, thereby switching the IP address type of the BMC to be tested to a static IP address, and then feeds back the static setting completion information to the electronic device.

[0075] Optionally, after receiving the static setting completion information fed back by the BMC to be tested, the electronic device establishes a network communication connection with the BMC to be tested according to the IP address of the BMC to be tested and a preset network communication protocol. The preset network communication protocol includes but is not limited to: Internet Protocol Version 4 IPv4 or Internet Protocol Version 6 IPv6.

[0076] Optionally, a connectivity check is performed on the IP address of the BMC to be tested to obtain the result of this connectivity check, including: sending a preset detection message to the BMC to be tested; determining whether a detection response message returned by the BMC to be tested is received within a preset time period; if so, determining that the result of this connectivity check is connected; if not, determining that the result of this connectivity check is disconnected.

[0077] Optionally, the preset detection message is a message sent to the BMC to be tested during the connectivity detection process. The detection response message is a response message that the BMC to be tested needs to return after receiving the preset detection message. The electronic device sends the preset detection message to the BMC to be tested, and then determines whether the detection response message returned by the BMC to be tested is received within a preset time length. If the electronic device receives the detection response message returned by the BMC to be tested within the preset time length, it indicates that the network communication connection established based on the IP address of the BMC to be tested is connected, and then it is determined that the result of this connectivity detection is connected. If the electronic device does not receive the detection response message returned by the BMC to be tested within the preset time length, it indicates that the network communication connection established based on the IP address of the BMC to be tested is not connected, and then it is determined that the result of this connectivity detection is not connected. The preset time length can be set according to business needs. Exemplarily, the preset time length is 10 minutes.

[0078] Optionally, providing the connectivity test result to the target user through the test data display page includes: displaying the connectivity test result in a connectivity test result display area of ​​the test data display page, thereby providing the connectivity test result to the target user. The connectivity test result display area is a page area set on the test data display page for displaying the connectivity test result of the BMC to be tested.

[0079] Optionally, the web page login detection instruction is an instruction for controlling the BMC to be tested to detect the web page login function of the BMC to be tested. The electronic device sends the web page login detection instruction to the BMC to be tested through the control interface. After receiving the web page login detection instruction, the BMC to be tested detects the web page login function of the BMC to be tested and feeds back the web page login detection result to the electronic device.

[0080] Optionally, the web page login detection instruction carries the uniform resource locator address of a preset web page; the detecting of the web page login function of the BMC to be tested includes: extracting the uniform resource locator address of the preset web page in the web page login detection instruction; determining whether it is possible to log in to the preset web page according to the uniform resource locator address of the preset web page; if so, determining that the result of this web page login detection is a normal login; if not, determining that the result of this web page login detection is an inability to log in.

[0081] Optionally, the preset web page is a web page used for logging in during the web page login function detection process. If the preset web page can be logged in according to the uniform resource locator address of the preset web page, it indicates that the BMC to be tested can log in to the web page, and the web page login detection result is determined to be normal login. If the preset web page cannot be logged in according to the uniform resource locator address of the preset web page, it indicates that the BMC to be tested cannot log in to the web page, and the web page login detection result is determined to be unable to log in.

[0082] Optionally, providing the target user with the web page login detection result fed back by the BMC to be tested through the test data display page includes: displaying the web page login detection result in a web page login detection result display area of ​​the test data display page, thereby providing the target user with the web page login detection result. The web page login detection result display area is a page area set on the test data display page for displaying the web page login detection result of the BMC to be tested.

[0083] Optionally, detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration includes: adding 1 to the number of tests of the BMC to be tested, and detecting whether the number of tests of the BMC to be tested is equal to the preset number of tests; if the number of tests of the BMC to be tested is equal to the preset number of tests, determining that the stability test of the BMC to be tested is completed; if the number of tests of the BMC to be tested is not equal to the preset number of tests, determining that the stability test of the BMC to be tested is not completed.

[0084] Therefore, based on the preset test times, the operation of switching the IP address type of the BMC to be tested can be repeatedly performed, so that the IP address type of the BMC to be tested can be automatically switched multiple times based on the control interface and test information, the network detection data of the BMC to be tested after the switch can be obtained and displayed, and the stability test of the BMC to be tested can be performed.

[0085] Optionally, the number of tests of the BMC to be tested is the number of IP address type switches of the BMC to be tested during this test. In an initial state, the number of tests of the BMC to be tested is 0. The preset number of tests can be set according to business requirements. Exemplarily, the preset number of tests is 100.

[0086] Optionally, detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration includes: detecting whether a current test duration of the BMC to be tested is greater than or equal to a preset test duration; if the current test duration of the BMC to be tested is greater than or equal to the preset test duration, determining that the stability test of the BMC to be tested is completed; if the current test duration of the BMC to be tested is less than the preset test duration, determining that the stability test of the BMC to be tested is not completed.

[0087] Therefore, based on the preset test duration, the operation of switching the IP address type of the BMC to be tested can be repeatedly performed, so that the IP address type of the BMC to be tested can be automatically switched multiple times based on the control interface and test information, the network detection data of the BMC to be tested after switching can be obtained and displayed, and the stability test of the BMC to be tested can be performed.

[0088] Optionally, the current test duration of the BMC to be tested is the duration from the first switching of the IP address type of the BMC to be tested to the current moment. The preset test duration can be set according to business requirements. Exemplarily, the preset test duration is 1 hour.

[0089] Optionally, after determining that the stability test of the BMC to be tested is completed, it is determined that the test process of the BMC to be tested is ended.

[0090] Optionally, the method further includes: storing the connectivity detection result and the web page login detection result in a network detection data file corresponding to the BMC to be tested. The network detection data file corresponding to the BMC to be tested is a file for storing network detection data of the BMC to be tested.

[0091] Therefore, the network detection data of the BMC to be tested is recorded through the network detection data file, so that the target user can view and review the network detection data of the BMC to be tested after the test is completed.

[0092] Optionally, after determining the current IP address type of the BMC to be tested, it also includes: if the current IP address type of the BMC to be tested is a static IP address, controlling the BMC to be tested through a control interface to set the alternative dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested; performing an IP address connectivity check and a web page login check on the BMC to be tested to obtain the connectivity check result and the web page login check result, and providing the connectivity check result and the result to the target user; detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration; if the stability test of the BMC to be tested is not completed, returning to execute the operation of determining the current IP address type of the BMC to be tested.

[0093] Therefore, based on the control interface and test information, when the current IP address type of the BMC to be tested is a static IP address, the current IP address type of the BMC to be tested can be automatically switched to a dynamic IP address, and the network detection data of the switched BMC can be automatically obtained and displayed until the stability test of the BMC to be tested is determined to be completed according to a preset number of tests or a preset test duration.

[0094] Optionally, the BMC to be tested is controlled through a control interface to set the alternative dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested, including: sending a dynamic IP setting instruction to the BMC to be tested through the control interface, controlling the BMC to be tested to set the alternative dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested, and feeding back dynamic setting completion information.

[0095] Therefore, the current IP address type of the BMC to be tested can be automatically switched to a dynamic IP address based on the control interface and the test information.

[0096] Optionally, performing an IP address connectivity check and a web page login check on the BMC to be tested to obtain a result of this connectivity check and a result of this web page login check, and providing the result of this connectivity check and the result to the target user, including: after receiving the dynamic setting completion information fed back by the BMC to be tested, establishing a network communication connection with the BMC to be tested according to the IP address of the BMC to be tested and a preset network communication protocol, performing a connectivity check on the IP address of the BMC to be tested to obtain a result of this connectivity check, and providing the result of this connectivity check to the target user through a test data display page; sending a web page login check instruction to the BMC to be tested through the control interface, controlling the BMC to be tested to detect the web page login function of the BMC to be tested, and feeding back the result of this web page login check; providing the result of this web page login check fed back by the BMC to be tested to the target user through the test data display page.

[0097] Therefore, based on the control interface, after the current IP address type of the BMC to be tested is switched to a dynamic IP address, the network detection data of the switched BMC can be automatically obtained and displayed.

[0098] Optionally, the dynamic IP setting instruction is an instruction for controlling the BMC to be tested to set the alternative dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested, and to feedback dynamic setting completion information. The dynamic IP setting instruction carries the alternative dynamic IP address of the BMC to be tested. The dynamic setting completion information is preset information used to indicate that the BMC to be tested has set the alternative dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested. If the current IP address type of the BMC to be tested is a static IP address, the electronic device sends a dynamic IP setting instruction to the BMC to be tested through a control interface. After receiving the dynamic IP setting instruction, the BMC to be tested extracts the alternative dynamic IP address of the BMC to be tested in the dynamic IP setting instruction, sets the alternative dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested, thereby switching the IP address type of the BMC to be tested to a dynamic IP address, and then feeds back the dynamic setting completion information to the electronic device. After receiving the dynamic setting completion information fed back by the BMC to be tested, the electronic device establishes a network communication connection with the BMC to be tested according to the IP address of the BMC to be tested and a preset network communication protocol.

[0099] The technical solution of the embodiment of the present invention obtains the test information of the BMC to be tested, wherein the test information includes: an alternative static IP address and an alternative dynamic IP address; then, through a control interface, according to the test information, the IP address type of the BMC to be tested is repeatedly switched, the network detection data of the BMC to be tested after the switch is obtained, and the network detection data is provided to a target user through a test data display page, thereby solving the problem that the BMC stability test solution in the related art consumes a lot of manpower cost and time cost, the test efficiency is relatively low, and the test accuracy cannot be guaranteed. The technical solution of the embodiment of the present invention obtains the beneficial effect of automatically switching the IP address type of the BMC to be tested multiple times based on the control interface and the test information, obtaining and displaying the network detection data of the BMC to be tested after the switch, performing stability test on the BMC to be tested, improving the test efficiency and the test accuracy, and reducing the manpower cost and time cost of the BMC stability test.

[0100] Embodiment 2

[0101] Figure 2 The flowchart of a BMC stability test method provided in the second embodiment of the present invention. The embodiment of the present invention can be combined with each optional solution in one or more of the above embodiments. Figure 2 As shown, the method includes:

[0102] Step 201: Acquire test information of the BMC to be tested.

[0103] The test information includes: an alternative static IP address and an alternative dynamic IP address.

[0104] Step 202 , determining the current IP address type of the BMC to be tested: if the current IP address type of the BMC to be tested is a dynamic IP address, executing step 203 ; if the current IP address type of the BMC to be tested is a static IP address, executing step 208 .

[0105] Step 203: Send a static IP setting instruction to the BMC to be tested through the control interface, control the BMC to be tested to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested, and feed back static setting completion information.

[0106] Step 204: After receiving the static setting completion information fed back by the BMC to be tested, a network communication connection is established with the BMC to be tested according to the IP address of the BMC to be tested and a preset network communication protocol, a connectivity check is performed on the IP address of the BMC to be tested, a result of this connectivity check is obtained, and the result of this connectivity check is provided to the target user through a test data display page.

[0107] Step 205: Send a web page login detection instruction to the BMC to be tested through the control interface, control the BMC to be tested to detect the web page login function of the BMC to be tested, and feed back the web page login detection result.

[0108] Step 206: Provide the target user with the web page login detection result fed back by the BMC to be tested through the test data display page.

[0109] Step 207 , detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration: if the stability test of the BMC to be tested is completed, executing step 213 ; if the stability test of the BMC to be tested is not completed, returning to executing step 202 .

[0110] Step 208: Send a dynamic IP setting instruction to the BMC to be tested through the control interface, control the BMC to be tested to set the candidate dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested, and feed back dynamic setting completion information.

[0111] Step 209: After receiving the dynamic setting completion information fed back by the BMC to be tested, a network communication connection is established with the BMC to be tested according to the IP address of the BMC to be tested and a preset network communication protocol, a connectivity check is performed on the IP address of the BMC to be tested, a result of this connectivity check is obtained, and the result of this connectivity check is provided to the target user through a test data display page.

[0112] Step 210: Send a web page login detection instruction to the BMC to be tested through the control interface, control the BMC to be tested to detect the web page login function of the BMC to be tested, and feed back the web page login detection result.

[0113] Step 211: Provide the target user with the web page login detection result fed back by the BMC to be tested through the test data display page.

[0114] Step 212: Detect whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration: if the stability test of the BMC to be tested is completed, execute step 213; if the stability test of the BMC to be tested is not completed, return to execute step 202.

[0115] Step 213: Determine that the test process of the BMC to be tested is completed.

[0116] The technical solution of the embodiment of the present invention can, based on the control interface and test information, automatically switch the current IP address type of the BMC to be tested to a static IP address when the current IP address type of the BMC to be tested is a dynamic IP address, automatically obtain and display the network detection data of the BMC after the switch, until it is determined that the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration. The technical solution of the embodiment of the present invention can, based on the control interface and test information, automatically switch the current IP address type of the BMC to be tested to a dynamic IP address when the current IP address type of the BMC to be tested is a static IP address, automatically obtain and display the network detection data of the BMC after the switch, until it is determined that the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration, thereby achieving the beneficial effects of automatically switching the IP address type of the BMC to be tested for multiple times based on the control interface and test information, obtaining and displaying the network detection data of the BMC to be tested after the switch, performing stability testing on the BMC to be tested, improving test efficiency and test accuracy, and reducing the manpower cost and time cost of the BMC stability test.

[0117] Embodiment 3

[0118] Figure 3 A flow chart of a BMC stability testing method provided in Embodiment 3 of the present invention includes the following steps:

[0119] Step 301: Acquire test information of the BMC to be tested from a test file corresponding to the BMC to be tested.

[0120] The test information includes: alternative static IP addresses and alternative dynamic IP addresses.

[0121] Step 302 , determining the current IP address type of the BMC to be tested: if the current IP address type of the BMC to be tested is a dynamic IP address, executing step 303 ; if the current IP address type of the BMC to be tested is a static IP address, executing step 310 .

[0122] Step 303: Send a static IP setting instruction to the BMC to be tested through the control interface, control the BMC to be tested to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested, and feedback static setting completion information.

[0123] Step 304: after receiving the static setting completion information fed back by the BMC to be tested, a network communication connection is established with the BMC to be tested according to the IP address of the BMC to be tested and the preset network communication protocol, a connectivity check is performed on the IP address of the BMC to be tested, a result of this connectivity check is obtained, and the result of this connectivity check is provided to the target user through the test data display page.

[0124] Step 305: Store the connectivity detection result in the network detection data file corresponding to the BMC to be tested.

[0125] Step 306: Send a web page login detection instruction to the BMC to be tested through the control interface, control the BMC to be tested to detect the web page login function of the BMC to be tested, and feed back the web page login detection result.

[0126] Step 307: Provide the target user with the web page login detection result fed back by the BMC to be tested through the test data display page.

[0127] Step 308: Store the web page login detection result in the network detection data file corresponding to the BMC to be tested.

[0128] Step 309 , detecting whether the stability test of the BMC to be tested is completed according to the preset test times or the preset test duration: if the stability test of the BMC to be tested is completed, executing step 317 ; if the stability test of the BMC to be tested is not completed, returning to executing step 302 .

[0129] Step 310: Send a dynamic IP setting instruction to the BMC to be tested through the control interface, control the BMC to be tested to set the candidate dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested, and feed back dynamic setting completion information.

[0130] Step 311: After receiving the dynamic setting completion information fed back by the BMC to be tested, a network communication connection is established with the BMC to be tested according to the IP address of the BMC to be tested and the preset network communication protocol, a connectivity check is performed on the IP address of the BMC to be tested, and a result of this connectivity check is obtained. The result of this connectivity check is provided to the target user through a test data display page.

[0131] Step 312: Store the connectivity detection result in a network detection data file corresponding to the BMC to be tested.

[0132] Step 313: Send a web page login detection instruction to the BMC to be tested through the control interface, control the BMC to be tested to detect the web page login function of the BMC to be tested, and feed back the web page login detection result.

[0133] Step 314: Provide the target user with the web page login detection result fed back by the BMC to be tested through the test data display page.

[0134] Step 315: store the web page login detection result in the network detection data file corresponding to the BMC to be tested.

[0135] Step 316 , detecting whether the stability test of the BMC to be tested is completed according to the preset test times or the preset test duration: if the stability test of the BMC to be tested is completed, executing step 317 ; if the stability test of the BMC to be tested is not completed, returning to executing step 302 .

[0136] Step 317: Determine that the test process of the BMC to be tested is completed.

[0137] The technical solution of the embodiment of the present invention can automatically switch the IP address type of the BMC to be tested multiple times based on the control interface and test information, obtain and display the network detection data of the BMC to be tested after switching, perform stability test on the BMC to be tested, improve test efficiency and test accuracy, and reduce the labor cost and time cost of BMC stability test.

[0138] Embodiment 4

[0139] Figure 4 The structure diagram of a BMC stability test device provided in the fourth embodiment of the present invention is shown in FIG. The device can be configured in an electronic device. Figure 4 As shown, the device includes: an information acquisition module 401 and a BMC test module 402.

[0140] Among them, the information acquisition module 401 is used to obtain the test information of the BMC to be tested; wherein the test information includes: an alternative static IP address and an alternative dynamic IP address; the BMC test module 402 is used to repeatedly switch the IP address type of the BMC to be tested according to the test information through the control interface, obtain the network detection data of the BMC to be tested after switching, and provide the network detection data to the target user through the test data display page.

[0141] The technical solution of the embodiment of the present invention obtains the test information of the BMC to be tested, wherein the test information includes: an alternative static IP address and an alternative dynamic IP address; then, through a control interface, according to the test information, the IP address type of the BMC to be tested is repeatedly switched, the network detection data of the BMC to be tested after the switch is obtained, and the network detection data is provided to a target user through a test data display page, thereby solving the problem that the BMC stability test solution in the related art consumes a lot of manpower cost and time cost, the test efficiency is relatively low, and the test accuracy cannot be guaranteed. The technical solution of the embodiment of the present invention obtains the beneficial effect of automatically switching the IP address type of the BMC to be tested multiple times based on the control interface and the test information, obtaining and displaying the network detection data of the BMC to be tested after the switch, performing stability test on the BMC to be tested, improving the test efficiency and the test accuracy, and reducing the manpower cost and time cost of the BMC stability test.

[0142] In an optional implementation of the embodiment of the present invention, optionally, the information acquisition module 401 is specifically configured to: acquire the test information of the BMC to be tested from a test file corresponding to the BMC to be tested.

[0143] In an optional implementation of the embodiment of the present invention, optionally, the BMC test module 402 is specifically used to: determine the current IP address type of the BMC to be tested; if the current IP address type of the BMC to be tested is a dynamic IP address, control the BMC to be tested through a control interface to set the alternative static IP address of the BMC to be tested as the IP address of the BMC to be tested; perform IP address connectivity detection and web page login detection on the BMC to be tested, obtain the connectivity detection result and the web page login detection result, and provide the connectivity detection result and the result to the target user; detect whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration; if the stability test of the BMC to be tested is not completed, return to execute the operation of determining the current IP address type of the BMC to be tested.

[0144] In an optional implementation of the embodiment of the present invention, optionally, the BMC test module 402 is also used for: if the current IP address type of the BMC to be tested is a static IP address, then controlling the BMC to be tested through a control interface to set the alternative dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested; performing an IP address connectivity check and a web page login check on the BMC to be tested to obtain the connectivity check result and the web page login check result, and providing the connectivity check result and the result to the target user; detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration; if the stability test of the BMC to be tested is not completed, returning to execute the operation of determining the current IP address type of the BMC to be tested.

[0145] In an optional implementation of the embodiment of the present invention, optionally, the BMC test module 402 is further configured to: store the connectivity test result and the web page login test result in a network test data file corresponding to the BMC to be tested.

[0146] In an optional implementation of the embodiment of the present invention, optionally, when the BMC test module 402 performs an operation of detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration, it is specifically used to: add 1 to the test number of the BMC to be tested, and detect whether the test number of the BMC to be tested is equal to the preset number of tests; if the test number of the BMC to be tested is equal to the preset number of tests, it is determined that the stability test of the BMC to be tested is completed; if the test number of the BMC to be tested is not equal to the preset number of tests, it is determined that the stability test of the BMC to be tested is not completed.

[0147] In an optional implementation of an embodiment of the present invention, optionally, when the BMC test module 402 performs an operation of detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration, it is specifically used to: detect whether the current test duration of the BMC to be tested is greater than or equal to the preset test duration; if the current test duration of the BMC to be tested is greater than or equal to the preset test duration, determine that the stability test of the BMC to be tested is completed; if the current test duration of the BMC to be tested is less than the preset test duration, determine that the stability test of the BMC to be tested is not completed.

[0148] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0149] The above-mentioned BMC stability testing device can execute the BMC stability testing method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the BMC stability testing method.

[0150] Embodiment 5

[0151] Figure 5 The structure diagram of the electronic device 10 that can be used to implement the BMC stability test method of the embodiment of the present invention is shown. The components shown herein, their connections and relationships, and their functions are only for example, and are not intended to limit the implementation of the present invention described and / or required herein.

[0152] like Figure 5As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11 in network communication, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program built from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0153] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0154] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the BMC stability test method.

[0155] In some embodiments, the BMC stability test method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is built into the RAM 13 and executed by the processor 11, one or more steps of the BMC stability test method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the BMC stability test method in any other appropriate manner (e.g., by means of firmware).

[0156] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0157] The computer program for implementing the BMC stability testing method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0158] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0159] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0160] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0161] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0162] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0163] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A BMC stability testing method, characterized in that: include: Acquire test information of the BMC to be tested; wherein the test information includes: an alternative static IP address and an alternative dynamic IP address; Through the control interface, according to the test information, repeatedly switch the IP address type of the BMC to be tested, obtain the network detection data of the BMC to be tested after the switch, and provide the network detection data to the target user through the test data display page; The method of repeatedly switching the IP address type of the BMC to be tested according to the test information through the control interface, acquiring the network detection data of the BMC to be tested after the switching, and providing the network detection data to the target user through the test data display page includes: Determine the current IP address type of the BMC to be tested; If the current IP address type of the BMC to be tested is a dynamic IP address, controlling the BMC to be tested through a control interface to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested; Performing IP address connectivity detection and web page login detection on the BMC to be tested, obtaining the connectivity detection result and the web page login detection result, and providing the connectivity detection result and the web page login detection result to the target user; Detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration; If the stability test of the BMC to be tested is not completed, the process returns to executing the operation of determining the current IP address type of the BMC to be tested.

2. The method according to claim 1, characterized in that The step of obtaining the test information of the BMC to be tested includes: The test information of the BMC to be tested is obtained from a test file corresponding to the BMC to be tested.

3. The method according to claim 1, characterized in that The step of controlling the BMC to be tested through a control interface to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested includes: A static IP setting instruction is sent to the BMC to be tested through a control interface, the BMC to be tested is controlled to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested, and static setting completion information is fed back.

4. The method according to claim 3, characterized in that The method of performing an IP address connectivity test and a web page login test on the BMC to be tested, obtaining a connectivity test result and a web page login test result, and providing the connectivity test result and the web page login test result to the target user includes: After receiving the static setting completion information fed back by the BMC to be tested, a network communication connection is established with the BMC to be tested according to the IP address of the BMC to be tested and the preset network communication protocol, a connectivity test is performed on the IP address of the BMC to be tested, a connectivity test result is obtained, and the connectivity test result is provided to the target user through a test data display page; Sending a web page login detection instruction to the BMC to be tested through the control interface, controlling the BMC to be tested to detect the web page login function of the BMC to be tested, and feeding back the web page login detection result; The web page login detection result fed back by the BMC to be tested is provided to the target user through the test data display page.

5. The method according to claim 1, characterized in that After determining the current IP address type of the BMC to be tested, the method further includes: If the current IP address type of the BMC to be tested is a static IP address, controlling the BMC to be tested through a control interface to set the candidate dynamic IP address of the BMC to be tested as the IP address of the BMC to be tested; Performing IP address connectivity detection and web page login detection on the BMC to be tested, obtaining the connectivity detection result and the web page login detection result, and providing the connectivity detection result and the web page login detection result to the target user; Detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration; If the stability test of the BMC to be tested is not completed, the process returns to executing the operation of determining the current IP address type of the BMC to be tested.

6. The method according to claim 1 or 5, characterized in that: The step of detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration includes: Add 1 to the test number of the BMC to be tested, and detect whether the test number of the BMC to be tested is equal to the preset test number; If the test number of the BMC to be tested is equal to the preset test number, it is determined that the stability test of the BMC to be tested is completed; If the test number of the BMC to be tested is not equal to the preset test number, it is determined that the stability test of the BMC to be tested is not completed.

7. A BMC stability testing device, characterized in that: include: An information acquisition module is used to acquire test information of the BMC to be tested; wherein the test information includes: an alternative static IP address and an alternative dynamic IP address; A BMC test module is used to repeatedly switch the IP address type of the BMC to be tested according to the test information through a control interface, obtain network detection data of the BMC to be tested after switching, and provide the network detection data to a target user through a test data display page; The BMC test module is specifically used for: Determine the current IP address type of the BMC to be tested; If the current IP address type of the BMC to be tested is a dynamic IP address, controlling the BMC to be tested through a control interface to set the candidate static IP address of the BMC to be tested as the IP address of the BMC to be tested; Performing IP address connectivity detection and web page login detection on the BMC to be tested, obtaining the connectivity detection result and the web page login detection result, and providing the connectivity detection result and the web page login detection result to the target user; Detecting whether the stability test of the BMC to be tested is completed according to a preset number of tests or a preset test duration; If the stability test of the BMC to be tested is not completed, the process returns to executing the operation of determining the current IP address type of the BMC to be tested.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory connected in network communication with the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the BMC stability testing method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the BMC stability testing method according to any one of claims 1 to 6 when executed.