ARM server certification test method, system, computer equipment and storage medium

By generating architecture compliance suite test packages and external storage devices, we solve the certification testing needs of ARM servers, realize hardware, firmware and OS compatibility certification testing of ARM servers, and provide professional and reliable certification testing standards.

CN115114102BActive Publication Date: 2024-10-22INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210771768.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-10-22
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

The existing whole-machine server certification test program is mainly suitable for X86 architecture servers and cannot meet the system testing, hardware testing and firmware testing needs of ARM servers. It lacks applicable certification testing programs and cannot provide fast and accurate technical support.

Method used

Provides an ARM server certification test method, including pre-generating an architecture compliance suite test package to determine whether the ARM server meets certification test requirements, starting the server after connecting an external storage device, and performing certification tests based on the certification test script, covering hardware configuration and firmware Environmental and operating system certification.

Benefits of technology

It provides complete machine certification testing solutions for system testing, hardware testing and firmware testing for ARM servers to ensure the professional, reliable and recognized certification standards of the products and meet the certification testing needs of ARM architecture servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115114102B_ABST
    Figure CN115114102B_ABST
Patent Text Reader

Abstract

The present application relates to an ARM server certification test method, system, computer equipment and storage medium, which generates an architecture compliance suite test package in advance and writes the architecture compliance suite test package to a target storage device; determines whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, then externally connects the target storage device to the ARM server to be tested; based on the preset server certification test rules and the architecture compliance suite test package, the server certification test is finally realized. The above method is applicable to ARM servers, that is, ARM architecture servers, and provides a whole machine certification test solution for hardware certification testing, firmware certification testing, OS compatibility certification testing, etc. of ARM servers, providing professional, reliable and recognized certification test standard support for product launch into the market.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of system testing, and in particular to an ARM server certification testing method, system, computer equipment and storage medium. Background Art

[0002] Certification testing refers to the process of performing a series of tests on the operating system on the hardware device. Its purpose is to verify the compatibility between the operating system and the hardware device. Passing the certification test can indicate that the operating system has good compatibility with the hardware device. Certification testing is convenient and fast for building development.

[0003] The existing whole-machine server certification test solution is suitable for X86 architecture servers, but not for ARM servers. It cannot meet the certification test requirements of ARM servers, cannot provide a reliable certification test solution for system testing, hardware testing and firmware testing of ARM servers, and cannot provide fast and accurate technical support for ARM server development.

[0004] Therefore, there is an urgent need to propose an ARM server certification test method, system, computer equipment and storage medium suitable for system testing, hardware testing and firmware testing of ARM architecture servers. Summary of the invention

[0005] Based on this, it is necessary to provide an ARM server certification test method, system, computer equipment and storage medium that can be applicable to system testing, hardware testing and firmware testing of ARM architecture servers in response to the above technical problems.

[0006] On the one hand, an ARM server certification test method is provided, the method comprising:

[0007] Pre-generating an architecture compliance suite test package, and writing the architecture compliance suite test package to a target storage device;

[0008] Determine whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connect the target storage device to the ARM server to be tested;

[0009] After the target storage device is externally connected to the ARM server to be tested, the ARM server to be tested is started;

[0010] Entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package;

[0011] After the certification test script is obtained, restart the ARM server to be tested;

[0012] The target storage device is loaded to start the ARM server to be tested from the target storage device, and a server certification test is performed based on the certification test script.

[0013] In one of the embodiments, the determining whether the ARM server to be tested meets the certification test requirements includes: determining whether the hardware configuration and the firmware environment of the ARM server to be tested both meet the certification test requirements; if the hardware configuration and the firmware environment both meet the certification test requirements, determining that the ARM server to be tested meets the certification test requirements; if the hardware configuration and / or the firmware environment do not meet the certification test requirements, determining that the ARM server to be tested does not meet the certification test requirements.

[0014] In one of the embodiments, before starting the ARM server to be tested, the method also includes: obtaining a server certification test item of the ARM server to be tested, and determining whether the server certification test item of the ARM server to be tested is one; if the server certification test item of the ARM server to be tested is one, performing a server certification test based on the certification test script; if the server certification test item of the ARM server to be tested is not one, generating a server certification test set based on the priority of the server certification test item of the ARM server to be tested, obtaining the server certification test items in sequence based on the server certification set, and performing a server certification test based on the certification test script.

[0015] In one of the embodiments, after the authentication test script completes executing the server authentication test, the method further includes: obtaining the server authentication test result of the current server authentication item through a serial port tool, and generating a server authentication test log; based on the server authentication test result, determining whether the server authentication test result meets the requirements.

[0016] In one of the embodiments, determining whether the server authentication test result meets the requirements includes: if the server authentication test result does not meet the requirements, pushing the server authentication test log to the operation and maintenance personnel and issuing an alarm; if the server authentication test result meets the requirements and, when a server authentication test set is generated, determining whether there are server authentication test items that have not been tested; if there are server authentication test items that have not been tested, obtaining the next server authentication test item in sequence based on the server authentication test set, and executing the server authentication test based on the authentication test script until there are no server authentication test items that have not been tested.

[0017] In one of the embodiments, the server certification test items include at least one of the following: a server self-certification test item, a server firmware certification test item, a server basic system architecture certification test item, and a server operating system certification test item.

[0018] In one embodiment, the priorities of the server certification test items from high to low are: server self-certification test items, server firmware certification test items, server basic service architecture certification test items and server operating system certification test items.

[0019] On the other hand, an ARM server certification test system is provided, the system comprising:

[0020] A generation unit for pre-generating an architecture compliance suite test package; a writing unit, the writing unit being communicatively connected to the generation unit, for writing the architecture compliance suite test package into a target storage device; a judgment unit, for judging whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, the target storage device is externally connected to the ARM server to be tested; an execution unit, the execution unit being communicatively connected to the unit, and if the ARM server to be tested meets the certification test requirements, the target storage device is externally connected to the ARM server to be tested; the execution unit is also used to start the ARM server to be tested; enter the target test system of the ARM server to be tested, and obtain a certification test script according to the certification test items, the certification test script being stored in the architecture compliance suite test package; the execution unit is also used to restart the ARM server to be tested after the certification test script is obtained; load the target storage device to start the ARM server to be tested from the target storage device, and perform server certification test based on the certification test script.

[0021] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0022] Pre-generating an architecture compliance suite test package, and writing the architecture compliance suite test package to a target storage device;

[0023] Determine whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connect the target storage device to the ARM server to be tested;

[0024] After the target storage device is externally connected to the ARM server to be tested, the ARM server to be tested is started;

[0025] Entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package;

[0026] After the certification test script is obtained, restart the ARM server to be tested;

[0027] The target storage device is loaded to start the ARM server to be tested from the target storage device, and a server certification test is performed based on the certification test script.

[0028] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0029] Pre-generating an architecture compliance suite test package, and writing the architecture compliance suite test package to a target storage device;

[0030] Determine whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connect the target storage device to the ARM server to be tested;

[0031] After the target storage device is externally connected to the ARM server to be tested, the ARM server to be tested is started;

[0032] Entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package;

[0033] After the certification test script is obtained, restart the ARM server to be tested;

[0034] The target storage device is loaded to start the ARM server to be tested from the target storage device, and a server certification test is performed based on the certification test script.

[0035] The above-mentioned ARM server certification test method, system, computer equipment and storage medium generate an architecture compliance suite test package in advance, and write the architecture compliance suite test package into the target storage device; determine whether the ARM server to be tested meets the certification test requirements, if the ARM server to be tested meets the certification test requirements, then connect the target storage device to the ARM server to be tested; after the target storage device is externally connected to the ARM server to be tested, start the ARM server to be tested; enter the target test system of the ARM server to be tested, and obtain the certification test script according to the certification test items, and the certification test script is stored in the architecture compliance suite test package; after the certification test script is obtained, restart the ARM server to be tested; load the target storage device to start the ARM server to be tested from the target storage device, and perform server certification test based on the certification test script. The above-mentioned method is applicable to ARM servers, that is, ARM architecture servers, and provides a whole machine certification test solution for hardware certification testing, firmware certification testing, OS compatibility certification testing, etc. of ARM servers, and provides professional, reliable and recognized certification test standard support for product introduction into the market. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of a flow chart of an ARM server authentication test method in one embodiment;

[0037] Figure 2 A schematic diagram of a flow chart of an ARM server authentication test method in one embodiment;

[0038] Figure 3 A structural block diagram of an ARM server authentication test system in one embodiment;

[0039] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] The ARM server certification test method provided by this application is as follows: Figure 1 The method shown comprises the following steps:

[0042] Pre-generating an architecture compliance suite test package, and writing the architecture compliance suite test package to a target storage device;

[0043] Determine whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connect the target storage device to the ARM server to be tested;

[0044] After the target storage device is externally connected to the ARM server to be tested, the ARM server to be tested is started;

[0045] Entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package;

[0046] After the certification test script is obtained, restart the ARM server to be tested;

[0047] The target storage device is loaded to start the ARM server to be tested from the target storage device, and a server certification test is performed based on the certification test script.

[0048] It should be understood that the target storage device externally connected to the ARM server to be tested can be a circuit composed of a target storage device, an ARM server to be tested and a switch. When it is uncertain whether the ARM server to be tested meets the certification test requirements or when it is determined that the ARM server to be tested does not meet the certification test requirements, the switch is disconnected and the circuit is not in a connected state; only when it is determined that the ARM server to be tested meets the certification test requirements, the switch will be closed so that the circuit is in a conducting state. It should also be understood that in actual application scenarios, the on and off of the circuit can be manually controlled or controlled by electrical signals. The target storage device externally connected to the ARM server to be tested can also be when it is determined that the ARM server to be tested meets the certification test requirements, the operation and maintenance personnel manually connect the target storage device to the ARM server to be tested. The connection method of the external target storage device to the ARM server to be tested includes USB interface connection.

[0049] In one embodiment, the determination of whether the ARM server to be tested meets the certification test requirements includes: determining whether the hardware configuration and the firmware environment of the ARM server to be tested both meet the certification test requirements; if the hardware configuration and the firmware environment both meet the certification test requirements, then determining that the ARM server to be tested meets the certification test requirements; if the hardware configuration, and / or the firmware environment do not meet the certification test requirements, then determining that the ARM server to be tested does not meet the certification test requirements. It should be understood that this application does not limit the specific rules for determining whether the ARM server to be tested meets the certification test requirements. Technical personnel in this field can formulate different requirement standards based on the situation, and only need to ensure that the hardware configuration and firmware environment can meet the certification test requirements of the ARM server to be tested.

[0050] In one embodiment, before starting the ARM server to be tested, the method further includes: obtaining the server authentication test item of the ARM server to be tested, and determining whether the server authentication test item of the ARM server to be tested is one; if the server authentication test item of the ARM server to be tested is one, executing the server authentication test based on the authentication test script; if the server authentication test item of the ARM server to be tested is not one, generating a server authentication test set based on the priority of the server authentication test item of the ARM server to be tested, sequentially obtaining the server authentication test items based on the server authentication set, and executing the server authentication test based on the authentication test script. That is, in the process of performing server authentication test on the server authentication test items, start with the server authentication test item with the highest priority, and perform authentication test on the server authentication test items in the server authentication test set in order of priority from high to low.

[0051] In one embodiment, executing a server certification test includes: step S1: starting the ARM server to be tested, entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package; step S2: after the certification test script is obtained, restarting the ARM server to be tested; step S3: loading the target storage device to start the ARM server to be tested from the target storage device, and executing a server certification test based on the certification test script.

[0052] That is to say, when the ARM server is subjected to certification test, the certification test is only performed based on one server certification test item at a time. That is, the certification test of one server certification test item includes steps S1 to S3. In the prior art, multiple server certification test items are usually subjected to certification test at the same time, that is to say, the certification test steps of the existing server certification test method are: obtaining the server certification test item of the ARM server to be tested, the server certification test item is at least one (that is, the server certification test item can be multiple); starting the ARM server to be tested, entering the target test system of the ARM server to be tested, and obtaining the certification test script according to all the server certification test items, and the certification test script is stored in the architecture compliance suite test package; after all the certification test scripts are obtained, restart the ARM server to be tested, load the target storage device, and execute the server certification test based on the certification test script; after all the certification test scripts execute the server certification test, shut down the ARM server to be tested. It should be understood that the server certification test items are not separate individuals, and there are various connections between the server certification test items. When the certification test is performed based on multiple server certification test items at the same time, there will be mutual influence between the server certification test items. Therefore, there are many problems in performing ARM server certification tests based on multiple server certification items at the same time. First, in the process of scheduling server certification test items, it is necessary to save the thread state, so frequent scheduling will take up a lot of machine time; second, when performing server certification tests on multiple server test items at the same time, it is necessary to cross process boundaries. If there is a large amount of data transmission or intensive calculations, the system will crash due to overload; then, multi-process scheduling for performing ARM server certification tests based on multiple server test items at the same time will increase system overhead.

[0053] In one embodiment, after executing the server authentication test based on the authentication test script, the method further includes: obtaining the server authentication test result of the current server authentication item through a serial port tool, and generating a server authentication test log; based on the server authentication test result, determining whether the server authentication test result meets the requirements. It should be understood that this application does not limit the judgment rules for whether the test results meet the requirements. Those skilled in the art can define the judgment requirements for whether the test results meet the requirements based on actual conditions such as server specifications, server operating conditions, and server usage requirements.

[0054] In one of the embodiments, determining whether the server certification test result meets the requirements includes: if the server certification test result does not meet the requirements, pushing the server certification test log to the operation and maintenance personnel and issuing an alarm; if the server certification test result meets the requirements and, when a server certification test set is generated, determining whether there are server certification test items that have not been tested; if there are server certification test items that have not been tested, based on the server certification test set, sequentially obtaining the next server certification test item, and executing the server certification test based on the preset server certification test rules and the architecture compliance suite test package until there are no server certification test items that have not been tested.

[0055] That is to say, after completing a server authentication test item authentication test based on step S1-step S3, determine whether the server authentication test result meets the requirements. If it meets the requirements, then based on the server authentication test set, sequentially obtain the next server authentication test item, and repeat step S1-step S3 based on the current server authentication test item (the next server authentication test item described above) to perform the server authentication test. It should be understood that the reason for sequentially obtaining the next server authentication test item directly based on the server authentication test set is that the server authentication test set will only be generated when the server authentication test item is not one, that is, when the server authentication test item is greater than or equal to two, so if there are server authentication test items that have not been subjected to server authentication testing, it means that there must be a server authentication test set.

[0056] It should be understood that based on the technical background described above (server certification test items are not separate individuals, and there are various connections between server certification test items), there are situations where the server certification test items have higher priorities and lower priorities. Therefore, only when it is determined that the server certification test results of the server certification test items with higher priorities meet the requirements, the certification test of the server certification test items with the next higher priority will be performed.

[0057] In one of the embodiments, the server certification test items include at least one of the following: server self-certification test items, server firmware certification test items, server basic system architecture certification test items and server operating system certification test items; the server certification test items have the following priorities from high to low: server self-certification test items, server firmware certification test items, server basic service architecture certification test items and server operating system certification test items.

[0058] In one of the embodiments, the server self-certification test items include SCT server certification test items; the server firmware certification test items include FWTS server certification test items; the server infrastructure certification test items include SBSALuvOS server certification test items and SBSA UEFI server certification test items; the server operating system certification test items include OS server certification test items. Based on the above server certification test items, the server certification test items have the following priorities from high to low: SCT server certification test items, FWTS server certification test items, SBSA LuvOS server certification test items, SBSA UEFI server certification test items and OS server certification test items. The OS server certification test items include Windows server certification test items, Centos server certification test items and Ubuntu server certification test items. Figure 2 As shown, this is the process of performing certification testing on the ARM server to be tested based on the above server certification test items.

[0059] In the above ARM server certification test method, an architecture compliance suite test package is generated in advance, and the architecture compliance suite test package is written into the target storage device; it is determined whether the ARM server to be tested meets the certification test requirements. If the ARM server to be tested meets the certification test requirements, the target storage device is externally connected to the ARM server to be tested; based on the preset server certification test rules and the architecture compliance suite test package, the server certification test is finally realized. The above method is applicable to ARM servers, that is, ARM architecture servers, and provides a whole machine certification test solution for hardware certification testing, firmware certification testing, OS compatibility certification testing, etc. of ARM servers, providing professional, reliable, and recognized certification test standard support for product launch into the market.

[0060] It should be understood that although Figure 1-2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0061] In one embodiment, Figure 3As shown, an ARM server certification test system is provided, including: a generation unit, a writing unit, a judgment unit and an execution unit, wherein:

[0062] A generation unit for pre-generating architecture compliance suite test packages;

[0063] a writing unit, the writing unit being communicatively connected to the generating unit and configured to write the architecture compliance suite test package into a target storage device;

[0064] A judging unit, used to judge whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, the target storage device is externally connected to the ARM server to be tested;

[0065] An execution unit is communicatively connected with the unit, and is used for externally connecting the target storage device to the ARM server to be tested if the ARM server to be tested meets the certification test requirements; the execution unit is also used for starting the ARM server to be tested; entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, and the certification test script is stored in the architecture compliance suite test package; the execution unit is also used for restarting the ARM server to be tested after the certification test script is obtained; loading the target storage device to start the ARM server to be tested from the target storage device, and performing a server certification test based on the certification test script.

[0066] In one of the embodiments, the judgment unit is also used to judge whether the hardware configuration and firmware environment of the ARM server to be tested both meet the certification test requirements; if the hardware configuration and the firmware environment both meet the certification test requirements, then it is judged that the ARM server to be tested meets the certification test requirements; if the hardware configuration and / or the firmware environment do not meet the certification test requirements, then it is judged that the ARM server to be tested does not meet the certification test requirements.

[0067] In one of the embodiments, the determination unit is further configured to determine whether the server certification test item of the ARM server to be tested is one.

[0068] In one of the embodiments, the system further comprises a sorting unit, for generating a server certification test set based on the priorities of the server certification test items of the ARM server to be tested if the server certification test items of the ARM server to be tested are not one.

[0069] In one of the embodiments, the system further comprises: a serial port tool, for obtaining a server authentication test result of the current server authentication item through the serial port tool, and generating a server authentication test log;

[0070] The judging unit is further configured to judge whether the server authentication test result meets the requirement based on the server authentication test result.

[0071] For the specific definition of the ARM server certification test system, please refer to the definition of the ARM server certification test method above, which will not be repeated here. Each module in the above-mentioned ARM server certification test system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0072] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store server certification test logs. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an ARM server certification test method is implemented.

[0073] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0074] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0075] Pre-generating an architecture compliance suite test package, and writing the architecture compliance suite test package to a target storage device;

[0076] Determine whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connect the target storage device to the ARM server to be tested;

[0077] After the target storage device is externally connected to the ARM server to be tested, the ARM server to be tested is started;

[0078] Entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package;

[0079] After the certification test script is obtained, restart the ARM server to be tested;

[0080] The target storage device is loaded to start the ARM server to be tested from the target storage device, and a server certification test is performed based on the certification test script.

[0081] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0082] Determine whether the hardware configuration and firmware environment of the ARM server to be tested both meet the certification test requirements; if the hardware configuration and the firmware environment both meet the certification test requirements, then determine that the ARM server to be tested meets the certification test requirements; if the hardware configuration and / or the firmware environment do not meet the certification test requirements, then determine that the ARM server to be tested does not meet the certification test requirements.

[0083] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0084] Obtain server certification test items of the ARM server to be tested, and determine whether the server certification test item of the ARM server to be tested is one; if the server certification test item of the ARM server to be tested is one, perform the server certification test based on the certification test script; if the server certification test item of the ARM server to be tested is not one, generate a server certification test set based on the priority of the server certification test item of the ARM server to be tested, obtain the server certification test items in sequence based on the server certification set, and perform the server certification test based on the certification test script, wherein the server certification test item includes at least one of the following: server self-certification test item, server firmware certification test item, server basic system architecture certification test item, and server operating system certification test item; the server certification test item priorities are from high to low: server self-certification test item, server firmware certification test item, server basic service architecture certification test item, and server operating system certification test item.

[0085] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0086] The server authentication test result of the current server authentication item is obtained through a serial port tool, and a server authentication test log is generated; based on the server authentication test result, it is determined whether the server authentication test result meets the requirements.

[0087] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0088] If the server certification test result does not meet the requirements, the server certification test log is pushed to the operation and maintenance personnel and an alarm is issued; if the server certification test result meets the requirements and a server certification test set is generated, it is determined whether there are server certification test items that have not been tested; if there are server certification test items that have not been tested, based on the server certification test set, the next server certification test item is obtained in sequence, and the server certification test is executed based on the certification test script until there are no server certification test items that have not been tested.

[0089] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0090] Pre-generating an architecture compliance suite test package, and writing the architecture compliance suite test package to a target storage device;

[0091] Determine whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connect the target storage device to the ARM server to be tested;

[0092] After the target storage device is externally connected to the ARM server to be tested, the ARM server to be tested is started;

[0093] Entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package;

[0094] After the certification test script is obtained, restart the ARM server to be tested;

[0095] The target storage device is loaded to start the ARM server to be tested from the target storage device, and a server certification test is performed based on the certification test script.

[0096] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0097] Determine whether the hardware configuration and firmware environment of the ARM server to be tested both meet the certification test requirements; if the hardware configuration and the firmware environment both meet the certification test requirements, then determine that the ARM server to be tested meets the certification test requirements; if the hardware configuration and / or the firmware environment do not meet the certification test requirements, then determine that the ARM server to be tested does not meet the certification test requirements.

[0098] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0099] Obtain the server certification test items of the ARM server to be tested, and determine whether the server certification test items of the ARM server to be tested are one; if the server certification test items of the ARM server to be tested are one, then perform the server certification test based on the certification test script; if the server certification test items of the ARM server to be tested are not one, then generate a server certification test set based on the priority of the server certification test items of the ARM server to be tested, obtain the server certification test items in sequence based on the server certification set, and perform the server certification test based on the certification test script. Among them, the server certification test items include at least one of the following: server self-certification test items, server firmware certification test items, server basic system architecture certification test items, and server operating system certification test items; the server certification test items have the following priorities from high to low: server self-certification test items, server firmware certification test items, server basic service architecture certification test items, and server operating system certification test items.

[0100] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0101] The server authentication test result of the current server authentication item is obtained through a serial port tool, and a server authentication test log is generated; based on the server authentication test result, it is determined whether the server authentication test result meets the requirements.

[0102] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0103] If the server certification test result does not meet the requirements, the server certification test log is pushed to the operation and maintenance personnel and an alarm is issued; if the server certification test result meets the requirements and a server certification test set is generated, it is determined whether there are server certification test items that have not been tested; if there are server certification test items that have not been tested, based on the server certification test set, the next server certification test item is obtained in sequence, and the server certification test is executed based on the certification test script until there are no server certification test items that have not been tested.

[0104] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0105] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0106] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An ARM server certification test method, characterized in that: The method comprises: Pre-generating an architecture compliance suite test package, and writing the architecture compliance suite test package to a target storage device; Determine whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connect the target storage device to the ARM server to be tested; After the target storage device is connected to the ARM server to be tested, the ARM server to be tested is started; Entering the target test system of the ARM server to be tested, and obtaining a certification test script according to the certification test items, wherein the certification test script is stored in the architecture compliance suite test package; After the authentication test script is obtained, restart the ARM server to be tested; Loading the target storage device to start the ARM server to be tested from the target storage device, and performing a server certification test based on the certification test script; Before starting the ARM server to be tested, the method further includes: Obtain a server certification test item of the ARM server to be tested, and determine whether the server certification test item of the ARM server to be tested is one; If the server certification test item of the ARM server to be tested is one, performing the server certification test based on the certification test script; If the number of server certification test items of the ARM server to be tested is not one, generating a server certification test set based on the priority of the server certification test items of the ARM server to be tested, sequentially acquiring the server certification test items based on the server certification set, and executing the server certification test based on the certification test script; After executing the server authentication test based on the authentication test script, the method further includes: Obtaining the server authentication test result of the current server authentication item through a serial port tool, and generating a server authentication test log; Based on the server authentication test result, determine whether the server authentication test result meets the requirements.

2. The ARM server certification test method according to claim 1, characterized in that: Determining whether the ARM server to be tested meets the certification test requirements includes: Determine whether the hardware configuration and firmware environment of the ARM server to be tested meet the certification test requirements; If both the hardware configuration and the firmware environment meet the certification test requirements, then it is determined that the ARM server to be tested meets the certification test requirements; If the hardware configuration and / or the firmware environment does not meet the certification test requirements, it is determined that the ARM server to be tested does not meet the certification test requirements.

3. The ARM server certification test method according to claim 1, wherein: Determining whether the server authentication test result meets the requirements includes: If the server authentication test result does not meet the requirements, the server authentication test log is pushed to the operation and maintenance personnel and an alarm is issued; If the server authentication test result meets the requirements and a server authentication test set is generated, determining whether there are server authentication test items that have not been subjected to server authentication testing; If there are server certification test items that have not been tested, the next server certification test item is obtained in sequence based on the server certification test set, and the server certification test is performed based on the certification test script until there are no server certification test items that have not been tested.

4. The ARM server certification test method according to any one of claims 1 to 3, characterized in that: The server certification test items include at least one of the following: a server self-certification test item, a server firmware certification test item, a server basic system architecture certification test item, and a server operating system certification test item.

5. The ARM server certification test method according to claim 4, characterized in that: The priority of server certification test items from high to low is: server self-certification test items, server firmware certification test items, server basic service architecture certification test items and server operating system certification test items.

6. An ARM server certification test system implementing the method as claimed in claim 1, characterized in that: The system comprises: A generation unit for pre-generating architecture compliance suite test packages; a writing unit, the writing unit being communicatively connected to the generating unit and configured to write the architecture compliance suite test package into a target storage device; A judging unit, configured to judge whether the ARM server to be tested meets the certification test requirements, and if the ARM server to be tested meets the certification test requirements, externally connecting the target storage device to the ARM server to be tested; An execution unit, the execution unit is communicatively connected to the unit, and is used to externally connect the target storage device to the ARM server to be tested if the ARM server to be tested meets the certification test requirements; the execution unit is also used to start the ARM server to be tested; enter the target test system of the ARM server to be tested, and obtain a certification test script according to the certification test items, and the certification test script is stored in the architecture compliance suite test package; the execution unit is also used to restart the ARM server to be tested after the certification test script is obtained; load the target storage device to start the ARM server to be tested from the target storage device, and perform server certification testing based on the certification test script.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.