CN115061871A - Computer performance test method, device and medium - Google Patents

Computer performance test method, device and medium Download PDF

Info

Publication number
CN115061871A
CN115061871A CN202210469689.7A CN202210469689A CN115061871A CN 115061871 A CN115061871 A CN 115061871A CN 202210469689 A CN202210469689 A CN 202210469689A CN 115061871 A CN115061871 A CN 115061871A
Authority
CN
China
Prior art keywords
computer
tested
detection script
detection
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210469689.7A
Other languages
Chinese (zh)
Inventor
林森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210469689.7A priority Critical patent/CN115061871A/en
Publication of CN115061871A publication Critical patent/CN115061871A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Abstract

The application discloses a computer performance test method, a device and a medium, which relate to the technical field of computers and aim at the problems that whether a system is normally installed or not cannot be detected, the version of an external system needs to be frequently updated, the network problem of the external system possibly influences the test progress and the like caused by the performance test of an external system on equipment to be tested; according to the method, after the system installation of the computer to be tested is completed and started, the computer to be tested is controlled to enter an auditing mode, whether the service function of the computer to be tested is normally started is judged, if yes, the detection script is sent to the computer to be tested and added to the system, and the detection script is executed to detect whether the service function of the computer to be tested is normal. And configuring a detection script for detecting the service function based on the auditing mode of the system so as to simulate and test various functions, and completing the diagnosis test without an external system.

Description

Computer performance test method, device and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a medium for testing computer performance.
Background
With the gradual and standard production flow of the computer industry, the requirement of a production line for computer delivery is higher and higher in actual production. In computer production testing, diagnostic testing (Diag) computers play an extremely important role in the testing process. Most tests are performed under a diagnostic test computer to test the service performance of the system.
In an actual production process, a current Operating System (OS) production factory performs equipment integral filling and diagnostic test tests mainly by using a Preboot eXecution Environment (PXE) production line as an equipment installation system, and based on the requirement of a customized version system, the system is closed after the system is automatically installed, the equipment is in a shutdown state, and the installed system is not used during the whole diagnostic test, so that the equipment obtained by a client is ensured to be in an equipment initialization interface when the equipment is started. Since the system cannot be accessed after the system is installed, the hardware problem and the performance problem of the equipment cannot be checked on the local system, and therefore an external system is required to be used for detecting the performance problem of the equipment; the network environments of the diagnosis test server and the PXE server are consistent, after the installation system of the computer equipment to be tested is completed, a system is externally connected based on the hardware of the equipment, a system disk and a data disk of the computer equipment to be tested are both used as external data disks, and only the performance of the hardware is tested to expose the hardware problem and the performance problem.
But the performance of the system is tested through the external system, whether the system is installed or not is neglected from the production angle, and the equipment passing the test does not always finish the system installation normally, so that the equipment in the hands of the client possibly has the problem of abnormal startup initialization; in addition, when the version of the external system is too old, the test program may not be normally run, and the test progress may be affected by the network problem of the external system itself.
Therefore, it is an urgent technical problem to be solved by those skilled in the art to provide a testing method for testing computer performance without an external system.
Disclosure of Invention
The method aims to provide a method for testing the performance of the computer without an external system.
In order to solve the above technical problem, the present application provides a computer performance testing method, including:
after the system of the computer to be tested is installed and started, controlling the computer to be tested to enter an auditing mode;
judging whether the service function of the computer to be tested is normally started or not;
if so, sending a detection script to the computer to be detected and adding the detection script to the system;
and executing the detection script to detect whether the service function of the computer to be detected is normal.
Preferably, in the computer performance testing method, if it is determined that the service function of the computer to be tested is normally started, the method further includes:
and after checking the audit mode and installing the system, entering the step of controlling the computer to be tested to enter the audit mode.
Preferably, in the above method for testing computer performance, the controlling the computer to be tested to enter an audit mode includes:
controlling the computer to be tested to start the auditing mode;
logging in the system through user information of an administrator.
Preferably, in the computer performance testing method, before sending the detection script to the computer to be tested and adding the detection script to the system, the method further includes:
classifying the detection script according to the running time of the detection script;
correspondingly, the executing the detection script comprises:
if the detection script exceeds the preset time, executing the detection script, and after the operation of the detection script is finished, closing and restarting the computer to be detected and continuously executing the next detection script;
and if the detection scripts do not exceed the preset time, combining and executing a plurality of detection scripts, wherein the running time of the plurality of detection scripts does not exceed the preset time.
Preferably, in the above method for testing computer performance, after executing the detection script, the method further includes:
judging whether the detection script tests are abnormal or not;
and if so, writing the exception into a test log and stopping the current test.
Preferably, in the computer performance testing method, if it is determined that there is no abnormality in the detection script test, the method further includes:
and continuing to execute the next detection script.
Preferably, in the computer performance testing method, after determining whether the detection script test is abnormal, the method further includes:
judging whether all the detection scripts are executed completely;
if yes, controlling the computer to be tested to exit the auditing mode, and closing the computer to be tested.
In order to solve the above technical problem, the present application further provides a computer performance testing apparatus, including:
the system comprises a starting module, a verification module and a verification module, wherein the starting module is used for controlling the computer to be tested to enter an audit mode after the system of the computer to be tested is installed and started;
the judging module is used for judging whether the service function of the computer to be tested is normally started or not;
the adding module is used for sending the detection script to the computer to be detected and adding the detection script to the system;
and the execution module is used for executing the detection script so as to detect whether the service function of the computer to be detected is normal or not.
In order to solve the above technical problem, the present application further provides a computer performance testing apparatus, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the computer performance testing method when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the computer performance testing method.
The computer performance testing method provided by the application comprises the following steps: after the system of the computer to be tested is installed and started, controlling the computer to be tested to enter an auditing mode; judging whether the service function of the computer to be tested is normally started or not; if so, sending a detection script to the computer to be detected and adding the detection script to the system; and executing the detection script to detect whether the service function of the computer to be detected is normal. The method provided by the application completes the diagnostic test based on the installed system of the computer to be tested, so that whether the system is normally installed can be known in the diagnostic test process, and the test progress cannot be influenced due to the fact that the version of the external system is too old to enable a test program to normally run or the network problem of the external system possibly influences the test progress.
In addition, the application also provides a computer performance testing device and a computer readable storage medium, which comprise the computer performance testing method, and the effects are the same as the above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flowchart of a computer performance testing method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of another method for testing computer performance according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a computer performance testing apparatus according to an embodiment of the present disclosure;
fig. 4 is a structural diagram of another computer performance testing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method for testing the performance of the computer without an external system.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
In the computer production and manufacturing process, computer equipment is filled in batches through a PEX production line, a system is installed for a computer, the system is closed after the automatic installation of the system is finished based on the requirement of a customized version system, and the equipment is in a shutdown state. The installed system is not used during the subsequent diagnostic test, and the equipment obtained by the client is ensured to be in an equipment initialization interface when being started. In order to ensure that a client obtains an uninitialized interface of a computer, the computer is tested by an external system. The network environment of the diagnosis test server is consistent with that of the PXE server, after the PXE server is used for installing a system for the computer equipment to be tested, the system is externally connected on the basis of hardware of the equipment, a system disk and a data disk of the computer equipment to be tested are both used as external data disks, and the diagnosis test server is used for exposing hardware problems and performance problems by testing the hardware performance.
In the existing process of carrying out diagnostic test on the computer equipment to be tested, because the installed system of the computer equipment to be tested cannot be started, the external system detects that the service function is normal in time, and the condition of system installation failure can also occur, so that the equipment in the hands of the client cannot be initialized normally. In addition, the version of the external system must be updated along with the system of the computer device to be tested, otherwise, the external system version may be too old to run the test program normally, or the network problem of the external system may also affect the test progress.
Computers referred to herein include, but are not limited to, desktops, laptops, tablets, cell phones, etc., and computer-mounted system environments referred to herein include, but are not limited to, the Unified Operating System (UOS), the Windows operating system, the apple computer (MAC) system, the kylin operating system of the silver river, the linux system, etc. These systems provide an audit mode for the user at installation, which, for example, under the Windows system, allows support for other changes to the Windows installation before the computer is shipped to the customer or the image is captured for reuse in the organization. Drivers contained in the driver package may be installed, applications installed, or other updates that require a Windows installation to be run. Other operating systems provide an audit mode with the same functionality. The method is completed in an auditing mode based on an operating system, and in addition, the performance of the computer to be tested is tested based on the diagnostic test server, and through the diagnostic test server, experimenters can preset a detection script and can also know the test dynamics and the like through the diagnostic test server.
Fig. 1 is a flowchart of a computer performance testing method provided in an embodiment of the present application, and as shown in fig. 1, the computer performance testing method includes:
step S11: after the system of the computer to be tested is installed and started, controlling the computer to be tested to enter an auditing mode;
the embodiment does not limit what system the computer to be tested is installed, for example: unified operating system, Windows operating system, MAC system, Galaxy kylin operating system, linux system, etc. The initial system is configured with an audit mode.
In the computer production and manufacturing process, computer equipment is filled in batches through a PEX production line, a system is installed on a computer, and the computer is in a shutdown state after the system is installed. In order to improve the detection efficiency, after the computer system is installed, the computer is directly restarted to enter an auditing mode for performance test. Of course, after the computer completes the system installation, the computer may be separately started without being directly restarted, and the computer enters the auditing mode to perform the performance test.
Step S12: judging whether the service function of the computer to be tested is normally started or not; if yes, go to step S13;
the service functions mentioned in this embodiment refer to services including, but not limited to, a File Transfer Protocol (FTP) service function, a hypertext Transfer Protocol (HTTP) service function, a Security Transport Layer Protocol (TLS/SSL) service function, a Secure Shell Protocol (SSH) service function, and the like; the embodiment does not specifically limit the service function to be tested, and the service function is designed according to actual needs.
If the service function of the computer can be normally started, the system installation of the computer to be tested is normal.
Step S13: sending the detection script to a computer to be detected and adding the detection script to a system;
the detection script mentioned in this embodiment refers to an executable file written according to a certain format, which is preset and can automatically detect the computer service function, and the writing language of the detection script is not limited in this embodiment, for example, Python language, C + + language, Java language, and the like. The design is estimated to be actually needed.
The executable detection script is sent to a computer to be tested, and the detection script can be sent to the computer to be tested through a simple File Transfer Protocol (TFTP), wherein the TFTP is one of a Transmission Control Protocol/Internet Protocol (TCP/IP) Protocol family for simple File Transfer between a client and a server, and File Transfer service with low complexity and cost is provided.
The detection script is added to the system, namely the system in the auditing mode is added, and the normal initialization of the user when the data added to the auditing mode does not influence the use of the user.
Step S14: and executing the detection script to detect whether the service function of the computer to be detected is normal.
And starting to operate after the script price raising is detected to the system, and detecting whether the service function of the computer to be detected is normal item by item.
Specifically, after the system of the computer to be tested is installed and started, the computer to be tested is controlled to enter an auditing mode, whether the service function of the computer to be tested is normally started is judged, if yes, a detection script is sent to the computer to be tested and added to the system, and the detection script is executed to detect whether the service function of the computer to be tested is normal. The computer performance testing method provided by the application completes the diagnostic test on the basis of the installed system of the computer to be tested, so that whether the system is normally installed can be known in the diagnostic test process, and the situation that a test program cannot normally run due to the fact that the version of the external system is too old or the test progress can be possibly influenced by network problems of the external system can be avoided.
According to the foregoing embodiment, if the system is normally installed, the performance test may run normally, as shown in fig. 2, which is a flowchart of another computer performance test method provided in this embodiment of the present application, as shown in fig. 2, if an error occurs in the system installation or an error occurs in the configuration of the audit mode, step S12 determines that the service function of the computer to be tested cannot be started normally, which further includes:
step S15: checking the audit mode and system installation, returning to step S11: and controlling the computer to be tested to enter an auditing mode.
That is, the service function of the computer is not normally started, which indicates that the system is installed incorrectly or the configuration of the audit mode is incorrect, and the audit mode and the system installation are detected, and after the error is eliminated, the operation returns to step S11 to continue the diagnosis and detection.
According to the foregoing embodiment, in order to improve the safety problem of the diagnostic test, therefore, this embodiment provides a preferable scheme, where the step S11 controls the computer under test to enter the audit mode, and includes:
controlling the computer to be tested to start an auditing mode;
logging in the system through user information of an administrator.
In the embodiment, through the auditing mode of the administrator user information login system, an auditor has the authority to execute the detection script, so that the safety problem in the process of diagnosis and test is ensured.
According to the above embodiment, since the testing of the first-line service function lasts for a long time, and a long-time testing may cause an excessive pressure on the computer to be tested, which may cause an inaccurate testing result, this embodiment provides an optimal solution, and before sending the detection script to the computer to be tested and adding the detection script to the system, the method further includes:
classifying the detection scripts according to the running time of the detection scripts;
correspondingly, executing a detection script, comprising:
if the detection script exceeds the preset time, executing the detection script, and after the operation of the detection script is finished, closing and restarting the computer to be detected and continuously executing the next detection script;
if the detection scripts do not exceed the preset time, the detection scripts are combined and executed, wherein the running time of the detection scripts does not exceed the preset time.
The preset time mentioned in this embodiment refers to a preset safe time threshold, and if the preset time is exceeded, the problem that the test result is inaccurate and the like may be caused due to the fact that the pressure of the computer to be tested is too large, therefore, the detection scripts are classified according to the running time of the detection scripts, the running time of the detection scripts is configured, the detection scripts exceeding the preset time are independently run according to the actual test requirements, the computer to be tested is restarted after the running is finished, and the next test is carried out, so that the problem that the pressure of the computer to be tested is too large due to the long-time script running is avoided. If the detection script does not exceed the preset time, a plurality of detection scripts can be executed in a combined manner, wherein the combined execution means that after the execution of one detection script is finished, the next detection script is directly executed without restarting the computer. Wherein the running time of the plurality of detection scripts does not exceed the preset time.
By the method provided by the embodiment, the problem that the test result is inaccurate due to overlarge pressure of the computer to be tested caused by long-time test of the computer to be tested is solved.
According to the above embodiment, in order to make the worker know the problem occurring in the detection process in the following, after the step S14 executes the detection script, the method further includes:
step S16: judging whether the detection script test is abnormal or not; if yes, go to step S17;
step S17: and writing the exception into a test log and stopping the current test.
In this embodiment, after the test of the detection script is abnormal, the current test is stopped, and an abnormal problem is written into the test log, it should be noted that the test log mentioned in this embodiment may be returned to the diagnostic detection server after the side of the computer to be tested writes, or the diagnostic detection server directly detects abnormal information and writes the abnormal information into the test log. Stopping the current test in this embodiment refers to stopping the current test script test, and preferably, after step S17, the method further includes: and restarting the computer to be tested, and continuously executing the next detection script.
By the method provided by the embodiment, the worker can timely know the problem of abnormal service function of the computer to be tested by inquiring the test log.
According to the foregoing embodiment, this embodiment provides a preferable solution, if the step S16 determines that there is no abnormality in the test script, further including:
step S18: judging whether all the detection scripts are executed completely; if yes, go to step S20; if not, go to step S19;
step S19: and entering the next detection script, and returning to the step S14 to execute the detection script to detect whether the service function of the computer to be detected is normal.
Step S20: and controlling the computer to be tested to exit the auditing mode, and closing the computer to be tested.
Step S18 of this embodiment determines whether all the detection scripts have been executed; if not, the flow proceeds to step S19: entering the next detection script, and returning to step S14, that is, executing the next detection script, the present embodiment does not limit whether the computer to be tested is restarted before executing the next detection script, and the design may be performed according to actual needs.
After all the detection scripts are executed, the process proceeds to step S20: and controlling the computer to be tested to exit the auditing mode, and closing the computer to be tested.
The exiting of the audit mode mentioned in this embodiment refers to deleting the detection script and the running data in the diagnostic test process, and in addition, after the test is finished, the audit mode may also be uninstalled, and the design may be performed according to actual needs. The method ensures that the computer equipment obtained by the client is in a shutdown state and in an equipment initialization interface when the computer equipment is started.
In the above embodiments, the computer performance testing method is described in detail, and the present application also provides embodiments corresponding to the computer performance testing apparatus. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 3 is a schematic diagram of a computer performance testing apparatus according to an embodiment of the present application, and as shown in fig. 3, the computer performance testing apparatus includes:
the starting module 31 is used for controlling the computer to be tested to enter an auditing mode after the system of the computer to be tested is installed and started;
the judging module 32 is used for judging whether the service function of the computer to be tested is normally started;
the adding module 33 is used for sending the detection script to the computer to be detected and adding the detection script to the system;
and the execution module 34 is used for executing the detection script to detect whether the service function of the computer to be detected is normal.
Specifically, the starting module 31 controls the computer to be tested to enter an audit mode after the system of the computer to be tested is installed and started; the judging module 32 judges whether the service function of the computer to be tested is normally started;
the adding module 33 sends the detection script to the computer to be detected and adds the detection script to the system; the execution module 34 executes the detection script to detect whether the service function of the computer under test is normal. The device provided by the application completes the diagnostic test based on the installed system of the computer to be tested, so that whether the system is normally installed can be known in the diagnostic test process, and the test progress cannot be influenced due to the fact that the version of the external system is too old to cause the test program to normally run or the network problem of the external system possibly influences the test progress.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 4 is a structural diagram of another computer performance testing apparatus provided in an embodiment of the present application, and as shown in fig. 4, the computer performance testing apparatus includes: a memory 40 for storing a computer program;
processor 41, when executing the computer program, is configured to implement the steps of the computer performance testing method according to the above embodiment.
The computer performance testing apparatus provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
Processor 41 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The Processor 41 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 41 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 41 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 41 may also include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
Memory 40 may include one or more computer-readable storage media, which may be non-transitory. Memory 40 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 40 is at least used for storing the computer program 401, wherein after being loaded and executed by the processor 41, the computer program can implement the relevant steps of the computer performance testing method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 40 may also include an operating system 402, data 403, and the like, and the storage manner may be a transient storage or a permanent storage. Operating system 402 may include Windows, Unix, Linux, and the like, among others. Data 403 may include, but is not limited to, data involved in implementing computer performance testing methods, and the like.
In some embodiments, the computer performance testing apparatus may further include a display screen 42, an input/output interface 43, a communication interface 44, a power supply 45, and a communication bus 46.
Those skilled in the art will appreciate that the configuration shown in FIG. 4 is not intended to be limiting of computer performance testing apparatus and may include more or fewer components than those shown.
The computer performance testing device provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: the computer performance testing method comprises the steps of controlling a computer to be tested to enter an auditing mode after a system of the computer to be tested is installed and started, judging whether a service function of the computer to be tested is normally started or not, if so, sending a detection script to the computer to be tested, adding the detection script to the system, and executing the detection script to detect whether the service function of the computer to be tested is normal or not. The method comprises the steps of configuring a detection script for detecting service functions based on an audit mode of a system to simulate and test various functions, and completing a diagnosis test without an external system, so that whether the system is normally installed or not can be known in the diagnosis test process, and the situation that a test program cannot normally run due to the fact that the version of the external system is too old or the test progress is possibly influenced by network problems of the external system can be avoided.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps as described in the above embodiments of the computer performance testing method.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of: the computer performance testing method comprises the steps of controlling a computer to be tested to enter an auditing mode after a system of the computer to be tested is installed and started, judging whether a service function of the computer to be tested is normally started or not, if so, sending a detection script to the computer to be tested, adding the detection script to the system, and executing the detection script to detect whether the service function of the computer to be tested is normal or not. The method comprises the steps of configuring a detection script for detecting service functions based on an audit mode of a system to simulate and test various functions, and completing a diagnosis test without an external system, so that whether the system is normally installed or not can be known in the diagnosis test process, and the situation that a test program cannot normally run due to the fact that the version of the external system is too old or the test progress is possibly influenced by network problems of the external system can be avoided.
The computer performance testing method, device and medium provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A computer performance testing method, comprising:
after the system of the computer to be tested is installed and started, controlling the computer to be tested to enter an auditing mode;
judging whether the service function of the computer to be tested is normally started or not;
if so, sending a detection script to the computer to be detected and adding the detection script to the system;
and executing the detection script to detect whether the service function of the computer to be detected is normal.
2. The method according to claim 1, wherein if it is determined that the service function of the computer under test cannot be started normally, the method further comprises:
checking the auditing mode and the system installation, and returning to the step of controlling the computer to be tested to enter the auditing mode.
3. The computer performance testing method of claim 1, wherein the controlling the computer under test to enter an audit mode comprises:
controlling the computer to be tested to start the auditing mode;
logging in the system through user information of an administrator.
4. The computer performance testing method of claim 1, wherein before sending the test script to the computer under test and adding the test script to the system, further comprising:
classifying the detection script according to the running time of the detection script;
correspondingly, the executing the detection script comprises:
if the detection script exceeds the preset time, executing the detection script, and after the operation of the detection script is finished, closing and restarting the computer to be detected and continuously executing the next detection script;
and if the detection scripts do not exceed the preset time, combining and executing a plurality of detection scripts, wherein the running time of the plurality of detection scripts does not exceed the preset time.
5. The computer performance testing method of claim 1, wherein after the executing the detection script, further comprising:
judging whether the detection script tests are abnormal or not;
and if so, writing the exception into a test log and stopping the current test.
6. The computer performance testing method of claim 5, wherein if it is determined that there is no anomaly in the detection script test, further comprising:
and entering the next detection script, and returning to the step of executing the detection script to detect whether the service function of the computer to be detected is normal or not.
7. The computer performance testing method of claim 6, further comprising, before entering the next detection script:
judging whether all the detection scripts are executed completely;
if yes, controlling the computer to be tested to exit the auditing mode, and closing the computer to be tested;
if not, entering the next step of detecting the script.
8. A computer performance testing apparatus, comprising:
the system comprises a starting module, a verification module and a verification module, wherein the starting module is used for controlling the computer to be tested to enter an audit mode after the system of the computer to be tested is installed and started;
the judging module is used for judging whether the service function of the computer to be tested is normally started or not;
the adding module is used for sending a detection script to the computer to be detected and adding the detection script to the system;
and the execution module is used for executing the detection script so as to detect whether the service function of the computer to be detected is normal or not.
9. A computer performance testing apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the computer performance testing method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the computer performance testing method according to any one of claims 1 to 7.
CN202210469689.7A 2022-04-30 2022-04-30 Computer performance test method, device and medium Pending CN115061871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210469689.7A CN115061871A (en) 2022-04-30 2022-04-30 Computer performance test method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210469689.7A CN115061871A (en) 2022-04-30 2022-04-30 Computer performance test method, device and medium

Publications (1)

Publication Number Publication Date
CN115061871A true CN115061871A (en) 2022-09-16

Family

ID=83196900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210469689.7A Pending CN115061871A (en) 2022-04-30 2022-04-30 Computer performance test method, device and medium

Country Status (1)

Country Link
CN (1) CN115061871A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016261A (en) * 2022-12-26 2023-04-25 广州市保伦电子有限公司 System operation and maintenance method, device and equipment
CN116048946A (en) * 2023-03-29 2023-05-02 摩尔线程智能科技(北京)有限责任公司 Performance detection method, host and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016261A (en) * 2022-12-26 2023-04-25 广州市保伦电子有限公司 System operation and maintenance method, device and equipment
CN116048946A (en) * 2023-03-29 2023-05-02 摩尔线程智能科技(北京)有限责任公司 Performance detection method, host and storage medium

Similar Documents

Publication Publication Date Title
WO2022160756A1 (en) Server fault positioning method, apparatus and system, and computer-readable storage medium
CN115061871A (en) Computer performance test method, device and medium
US9184991B2 (en) Method and apparatus for developing service processor solutions
US9563439B2 (en) Caching unified extensible firmware interface (UEFI) and/or other firmware instructions in a non-volatile memory of an information handling system (IHS)
CN110096314B (en) Interface initialization method, device, equipment and computer readable storage medium
US20150220411A1 (en) System and method for operating system agnostic hardware validation
US9417886B2 (en) System and method for dynamically changing system behavior by modifying boot configuration data and registry entries
US11768672B1 (en) Systems and methods for user-controlled deployment of software updates
CN108292342B (en) Notification of intrusions into firmware
US20190187977A1 (en) Dual boot operating system installation using multiple redundant drives
US9465643B1 (en) Systems and methods for monitoring a primary operating system (OS) and/or migrating data using an OS hypervisor
US10318731B2 (en) Detection system and detection method
GB2512482A (en) Verification program, verification method, and verification device
CN110737558A (en) Method and device for automatically deploying efi shell system to execute test, computer equipment and storage medium
US10742496B2 (en) Platform specific configurations setup interface for service processor
US20230315620A1 (en) System and Method for Diagnosing a Computing Device in Safe Mode
US10732987B2 (en) System and method to update operating system services
CN116112412A (en) Virtual network card binding redundancy function test method, system, device and medium
TWI779515B (en) Method and system for determining tampering with unified extensible firmware interface (uefi), and related non-transitory computer-readable medium
CN114153503A (en) BIOS control method, device and medium
US20220050688A1 (en) Device state data loading onto rfid chip
CN115454336A (en) Hard disk working environment configuration method, device and medium
US20240020103A1 (en) Parallelizing data processing unit provisioning
CN114168163A (en) Program installation method, device and medium
CN115589379A (en) Network card PXE function test method, system, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination