[go: up one dir, main page]

CN114816884B - A computer testing method and related components - Google Patents

A computer testing method and related components Download PDF

Info

Publication number
CN114816884B
CN114816884B CN202210582402.1A CN202210582402A CN114816884B CN 114816884 B CN114816884 B CN 114816884B CN 202210582402 A CN202210582402 A CN 202210582402A CN 114816884 B CN114816884 B CN 114816884B
Authority
CN
China
Prior art keywords
computer
setting
condition
test
test environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210582402.1A
Other languages
Chinese (zh)
Other versions
CN114816884A (en
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.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems 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 Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN202210582402.1A priority Critical patent/CN114816884B/en
Publication of CN114816884A publication Critical patent/CN114816884A/en
Application granted granted Critical
Publication of CN114816884B publication Critical patent/CN114816884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • 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/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a testing method of a computer and related components, relating to the field of computers, firstly, judging whether the computer meets the preset performance test conditions, and if so, controlling the computer to start performance test. And judging whether the testing environment of the computer is abnormal while the computer performs performance test, and if the testing environment is abnormal, performing corresponding repair operation on the computer based on the abnormal condition of the testing environment. Therefore, the performance of the computer can be automatically tested, the condition of missing test or wrong test is reduced, the use experience of a user is ensured, whether the preset performance test condition is met or not can be detected before the performance test, the repair can be automatically carried out when the test environment is abnormal, and the stability and the safety of the test are ensured.

Description

Computer testing method and related components
Technical Field
The present invention relates to the field of computers, and in particular, to a method for testing a computer and related components.
Background
With the development of computer technology, computer equipment has become the most practical tool of generating power of people today, and the use experience of user has been influenced to a certain extent to the good or bad performance of computer equipment, but generally can not carry out the performance test to the computer before using the computer in prior art, can lead to the computer equipment to appear the condition such as card ton or unusual in the use, influences user's use experience.
Disclosure of Invention
The invention aims to provide a testing method and related components of a computer, which can automatically test the performance of the computer, reduce the condition of missing test or wrong test, ensure the use experience, detect whether the performance test condition meets the preset performance test condition before the performance test, automatically repair the performance test condition when the test environment is abnormal, and ensure the stability and the safety of the test.
In order to solve the above technical problems, the present invention provides a method for testing a computer, including:
Judging whether the computer meets a preset performance test condition or not;
if yes, controlling the computer to start performance test;
and when the computer performs the performance test, if the test environment of the computer is judged to be abnormal, performing corresponding repair operation on the computer based on the abnormal condition of the test environment.
Preferably, before determining whether the computer meets a preset performance test condition, the method further includes:
acquiring a processor architecture of the computer and an operating system type of the computer;
Determining processor identification information based on the processor architecture;
determining operating system identification information based on the operating system type;
Generating test environment configuration conditions corresponding to the computer based on the processor identification information and the operating system identification information;
Based on a preset test environment configuration list, configuring the test environment of the computer into a test environment corresponding to the test environment configuration condition in the preset test environment configuration list, wherein the preset test environment configuration list comprises a corresponding relation between the test environment and the test environment configuration condition.
Preferably, the test environment configuration conditions include a system setting condition of the computer and a BIOS setting condition of the computer;
Based on a preset test environment configuration list, configuring the test environment of the computer into a test environment corresponding to the test environment configuration condition in the preset test environment configuration list, wherein the method comprises the following steps:
and setting the system setting of the computer according to the system setting conditions based on the preset test environment configuration list, and setting the BIOS setting of the computer according to the BIOS setting conditions.
Preferably, determining whether the computer meets a preset performance test condition includes:
Acquiring the current system setting of the computer and the current BIOS setting of the computer;
Judging whether the current system setting is consistent with the system setting condition and whether the current BIOS setting is consistent with the BIOS setting condition;
If the current system setting is consistent with the system setting conditions and the current BIOS setting is consistent with the BIOS setting conditions, judging that the computer meets the preset performance test conditions;
Otherwise, judging that the computer does not meet the preset performance test condition.
Preferably, the system setting conditions comprise firewall settings of the computer and/or settings of a testing tool in the computer, wherein the testing tool is used for performing the performance test;
the BIOS setting condition comprises any one or more of input and output setting of the computer, startup self-checking setting of the computer and self-starting setting of the computer.
Preferably, determining that the test environment of the computer is abnormal includes:
Acquiring current system settings of the computer and current BIOS settings of the computer
When the current system setting is inconsistent with the system setting condition and/or the current BIOS setting is inconsistent with the BIOS setting condition, judging that the testing environment of the computer is abnormal;
And when the read and/or write functions of the operating system of the computer are abnormal, judging that the testing environment of the computer is abnormal.
Preferably, performing a corresponding repair operation on the computer based on the abnormal condition of the test environment includes:
Resetting the system setting of the computer according to the system setting conditions when the current system setting is inconsistent with the system setting conditions;
Resetting the BIOS setting of the computer according to the BIOS setting condition when the current BIOS setting is inconsistent with the BIOS setting condition;
and when the read and/or write function of the operating system of the computer is abnormal, determining a memory with abnormal read and/or write in the computer, and repairing the memory.
The present invention also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of a testing party of a computer as described above.
In order to solve the technical problems, the invention also provides a testing device of a computer, which comprises:
a memory for storing a computer program;
And a processor for implementing the steps of the test method of the computer when executing the computer program.
The invention further provides a computer for solving the technical problems, and the computer testing device comprises the computer.
The invention provides a testing method of a computer and related components, which are characterized in that whether the computer meets preset performance testing conditions is judged, and the computer is controlled to start performance testing if the computer meets the preset performance testing conditions. And judging whether the testing environment of the computer is abnormal while the computer performs performance test, and if the testing environment is abnormal, performing corresponding repair operation on the computer based on the abnormal condition of the testing environment. Therefore, the performance of the computer can be automatically tested, the condition of missing test or wrong test is reduced, the use experience of a user is ensured, whether the preset performance test condition is met or not can be detected before the performance test, the repair can be automatically carried out when the test environment is abnormal, and the stability and the safety of the test are ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the prior art and the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for testing a computer according to the present invention;
Fig. 2 is a schematic structural diagram of a testing device of a computer according to the present invention.
Detailed Description
The core of the invention is to provide a testing method and related components of a computer, which can automatically test the performance of the computer, reduce the condition of missing test or wrong test, ensure the use experience, detect whether the performance test condition meets the preset performance test condition before the performance test, automatically repair the performance test condition when the test environment is abnormal, and ensure the stability and safety of the test.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a testing method of a computer according to the present invention, where the testing method includes:
s1, judging whether a computer meets a preset performance test condition, if so, triggering S2;
S2, controlling a computer to start performance test;
and S3, when the performance test is carried out on the computer, if the test environment of the computer is judged to be abnormal, corresponding repair operation is carried out on the computer based on the abnormal condition of the test environment.
Considering that performance test is generally not performed on a computer before the computer is used in the prior art, situations such as jamming or abnormality and the like of computer equipment in the using process can be caused, and the using experience of a user is affected. Therefore, the application ensures the safety of the performance test process on the basis of realizing the performance test of the computer so as to ensure the use experience.
Specifically, considering that a testing environment is generally required to be configured for performance testing when performance testing is performed on a computer, otherwise, the performance testing process and the testing result may be affected, so in the application, whether the computer meets the preset performance testing condition is firstly judged before performance testing is performed on the computer, and the performance testing can be ensured to be performed smoothly. In addition, the preset performance test conditions in the present application may be related configuration conditions of an operating system of a computer, related settings of a BIOS (Basic Input Output System ) of the computer, and the like, which are not particularly limited.
The computer is controlled to start performance test after the computer is determined to meet the preset performance test condition, and in consideration of the fact that many performance tests of the computer need to be controlled to restart the computer for many times in the test process, the operating system and BIOS settings of the computer are easily affected, and therefore faults occur to the computer. For example, when testing the memory performance of the computer by MEmEye, it is necessary to control the change of the voltage signal of the memory voltage stabilizer in the computer to promote the voltage offset of the memory controller and the memory, in this process, the computer is controlled to execute the read operation, the write operation and the command address operation multiple times, and in the execution process, the computer is controlled to restart multiple times, which easily causes the computer to be abnormal, for example, the operating system of the computer is changed into the read-only mode, or the configuration file of the computer is damaged. Therefore, the application can continuously monitor the testing environment of the computer in the process of testing the performance of the computer, and can carry out corresponding repair operation aiming at abnormal conditions when the testing environment of the computer is abnormal, thereby avoiding the condition that the performance test is blocked or can not be continuously carried out due to the abnormal testing environment of the computer in the process of testing the performance of the computer, and further ensuring the safety and the stability of the performance test of the computer in the testing process.
In addition, the application can monitor whether the test environment of the computer is abnormal in real time or not, and can monitor whether the test environment of the computer is abnormal or not in a certain period, and the application is not limited in particular.
In summary, the present invention provides a method for testing a computer, which includes first determining whether a computer meets a preset performance test condition, and if so, controlling the computer to start performance test. And judging whether the testing environment of the computer is abnormal while the computer performs performance test, and if the testing environment is abnormal, performing corresponding repair operation on the computer based on the abnormal condition of the testing environment. Therefore, the performance of the computer can be automatically tested, the condition of missing test or wrong test is reduced, the use experience of a user is ensured, whether the preset performance test condition is met or not can be detected before the performance test, the repair can be automatically carried out when the test environment is abnormal, and the stability and the safety of the test are ensured.
Based on the above embodiments:
As a preferred embodiment, before determining whether the computer satisfies the preset performance test condition, the method further includes:
acquiring a processor architecture of a computer and an operating system type of the computer;
determining processor identification information based on a processor architecture;
Determining operating system identification information based on the operating system type;
generating test environment configuration conditions corresponding to the computer based on the processor identification information and the operating system identification information;
Based on a preset test environment configuration list, configuring the test environment of the computer into a test environment corresponding to the test environment configuration condition in the preset test environment configuration list, wherein the preset test environment configuration list comprises a corresponding relation between the test environment and the test environment configuration condition.
In this embodiment, the test environment is automatically configured for the computer before determining whether the computer meets the preset performance test condition, that is, before preparing to perform the performance test on the computer. Specifically, considering that the processor architecture and the operating system types of different computers are different, the supported performance test modes are different, so in the application, firstly, the processor mark of the computer is determined based on the processor architecture of the computer, the operating system mark information of the computer is determined according to the operating system type of the computer, and then the processor identification information and the operating system identification information are combined to generate the test environment configuration condition corresponding to the computer. The computer is pre-stored with a preset test environment configuration list, and the preset test environment configuration list comprises a corresponding relation between the test environment and the test environment configuration conditions, so that after the test environment configuration conditions of the computer are determined, the test environment corresponding to the computer can be determined based on the preset environment configuration list.
For example, after acquiring the processor architecture of the computer and the operating system type of the computer, determining the processor identification information and the operating system identification information of the computer as "AMD Ubuntu 20.04LTS", and then determining a test environment based on a preset test environment configuration list, where the test environment may be system configuration information and BIOS setting, the application is not limited in particular.
For example, after the computer is started and enters the operating system, a configcheck.sh script is started, then the system and BIOSsetting.sh are called so as to obtain the processor architecture of the computer and the operating system type of the computer, then the test environment is automatically configured for the computer based on a preset test environment configuration list, whether the test environment of the computer is configured is finished or not is monitored, and after the test environment configuration is finished, the computer is controlled to restart so as to enable the test environment to be effective.
In summary, in this embodiment, before determining whether the computer meets the preset performance test condition, that is, before preparing to perform the performance test on the computer, a test environment is automatically configured for the computer, so that the safety and stability of the performance test are further ensured, and the efficiency is high.
As a preferred embodiment, the test environment configuration conditions include system setup conditions of the computer and BIOS setup conditions of the computer;
Based on a preset test environment configuration list, configuring the test environment of the computer into a test environment corresponding to the test environment configuration condition in the preset test environment configuration list, including:
based on a preset test environment configuration list, setting the system setting of the computer according to the system setting conditions, and setting the BIOS setting of the computer according to the BIOS setting conditions.
In the present embodiment, the main factors that are considered to influence the test environment of the performance test are the setting of the operating system of the computer and the setting of the BIOS of the computer. Because the BIOS of the computer stores the most basic input and output programs, boot self-checking programs, system self-starting programs and the like of the computer.
Therefore, in this embodiment, the test environment configuration conditions include a system configuration condition of the computer and a BIOS configuration condition of the computer, and after determining the test environment configuration condition corresponding to the computer, the system configuration of the computer is set according to the system configuration condition based on the preset configuration list, and the BIOS configuration of the computer is set according to the BIOS configuration condition, so that the safety and stability of the performance test are further ensured.
As a preferred embodiment, determining whether the computer satisfies a preset performance test condition includes:
Acquiring the current system setting of a computer and the current BIOS setting of the computer;
judging whether the current system setting is consistent with the system setting condition and whether the current BIOS setting is consistent with the BIOS setting condition;
if the current system setting is consistent with the system setting conditions and the current BIOS setting is consistent with the BIOS setting conditions, judging that the computer meets the preset performance test conditions;
Otherwise, judging that the computer does not meet the preset performance test condition.
In this embodiment, since the testing environment is configured for the computer before the performance test is performed on the computer, if it is desired to determine whether the computer meets the preset performance test condition, the system setting and the system setting condition may be compared, and the current BIOS setting and the BIOS setting condition may be compared. If the current system setting is consistent with the system setting condition and the current BIOS setting is consistent with the BIOS setting condition, the computer is not interfered by the multiple restarting operations and other influencing factors in the performance test process, and the computer can be judged to meet the preset performance test condition, otherwise, the computer is proved to be interfered by the multiple restarting operations and other influencing factors in the performance test process, and the computer is judged to not meet the preset performance test condition, so that the performance test of the computer may not be continued normally.
As a preferred embodiment, the system setting conditions comprise firewall settings of the computer and/or settings of a testing tool in the computer, wherein the testing tool is used for performance testing;
The BIOS setting condition comprises any one or more of input and output setting of the computer, starting self-checking setting of the computer and self-starting setting of the computer.
In this embodiment, considering that the setting as to whether the firewall of the computer is closed or not and whether the test tool for performing the performance test is open or not has a great influence on whether the performance test can be performed normally, the system setting condition may be set as the firewall setting of the computer and/or the setting of the test tool in the computer.
In addition, the BIOS of the computer is considered to store the most basic input and output programs, the boot self-checking programs, the system self-starting programs and the like of the computer, so that any one or more of the input and output settings of the computer, the boot self-checking settings of the computer and the computer self-starting settings are used as BIOS setting conditions in the embodiment, and the stability of the performance test of the computer is further ensured.
As a preferred embodiment, determining that an abnormality occurs in a test environment of a computer includes:
acquiring current system settings of a computer and current BIOS settings of the computer
When the current system setting is inconsistent with the system setting condition and/or the current BIOS setting is inconsistent with the BIOS setting condition, judging that the testing environment of the computer is abnormal;
When the read and/or write functions of the operating system of the computer are abnormal, the abnormal occurrence of the testing environment of the computer is judged.
In this embodiment, considering that factors influencing performance testing of a computer mainly include system setting, BIOS setting, and read and/or write functions of an operating system, in this embodiment, when a current system setting is inconsistent with a system setting condition and/or a current BIOS setting is inconsistent with a BIOS setting condition, it is determined that an abnormality occurs in a testing environment of the computer, that is, a current testing environment of the computer changes from a testing environment configured for the computer initially, which indicates that the computer may be interfered by multiple reboots or other factors in a testing process. In addition, it is very important whether the operating system of the computer can normally perform the read-write operation when performing the performance test, for example, the performance test cannot be performed when the operating system of the computer is changed to the read-only mode, so in this embodiment, when the read and/or write functions of the operating system of the computer are abnormal, it is determined that the test environment of the computer is abnormal, and it is further ensured that the computer can normally perform the performance test.
For example, computer call systemcheck & BIOScheck. Sh, then the computer automatically detects if the current system settings are inconsistent with the system settings and/or if the current BIOS settings are inconsistent with the BIOS settings, and also detects if the read and/or write functions of the computer's operating system are abnormal. For example, when the operating system is readonly or the BIOS is inconformity, it is determined that an abnormality occurs in the test environment of the computer.
As a preferred embodiment, performing a corresponding repair operation on the computer based on an abnormal condition of the test environment, includes:
Resetting the system setting of the computer according to the system setting conditions when the current system setting is inconsistent with the system setting conditions;
Resetting the BIOS setting of the computer according to the BIOS setting condition when the current BIOS setting is inconsistent with the BIOS setting condition;
When the read and/or write function of the operating system of the computer is abnormal, determining a memory with abnormal read and/or write in the computer, and repairing the memory.
In this embodiment, in order to ensure that performance test of the computer can be recovered as soon as possible after an abnormality occurs, different repair operations are configured for different abnormalities of the computer. When the testing environment of the computer is changed, the testing environment is reconfigured for the computer, the abnormal testing environment is covered by the testing environment of the information, specifically, when the current system setting is inconsistent with the system setting condition, the system setting of the computer is reconfigured according to the system setting condition, and when the current BIOS setting is inconsistent with the BIOS setting condition, the BIOS setting of the computer is reconfigured according to the BIOS setting condition.
When the read and/or write function of the operating system of the computer is abnormal, determining the memory with the read and/or write abnormality in the computer, and then repairing the abnormal memory, thereby improving the repairing efficiency and accuracy and ensuring the stability of the performance test.
For example, call SYSTEMREPAIR-BIOSset. Sh after finding the abnormality, and automatically perform corresponding repair operation for different abnormal situations. After the repair is completed, the computer is controlled to restart and then performance test is continuously executed.
The invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor implements the steps of a testing party of a computer as described above.
For a related description of a computer-readable storage medium provided in the present invention, refer to an embodiment of a testing method of the computer, and are not described herein.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a testing device of a computer according to the present invention, including:
A memory 1 for storing a computer program;
a processor 2 for implementing the steps of the test method of the computer as described above when executing the computer program.
For the related description of the testing device of the computer provided by the present invention, please refer to the embodiment of the testing method of the computer, and the description is omitted herein.
The invention also provides a computer, which comprises the testing device of the computer.
For the related description of a computer provided in the present invention, reference is made to the embodiment of the testing method of the computer, and details are not described herein.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
It should also be noted that in this 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. Moreover, 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 one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.

Claims (7)

1. A method for testing a computer, comprising:
Judging whether the computer meets a preset performance test condition or not;
if yes, controlling the computer to start performance test;
When the computer performs the performance test, if the test environment of the computer is judged to be abnormal, performing corresponding repair operation on the computer based on the abnormal condition of the test environment;
Before judging whether the computer meets the preset performance test condition, the method further comprises the following steps:
When the computer is started and enters an operating system, a configcheck.sh script starts to run, and the processor architecture of the computer and the operating system type of the computer are obtained by calling system and BIOSsetting.sh;
Determining processor identification information based on the processor architecture;
determining operating system identification information based on the operating system type;
Generating test environment configuration conditions corresponding to the computer based on the processor identification information and the operating system identification information;
configuring the test environment of the computer into a test environment corresponding to the test environment configuration condition in a preset test environment configuration list based on the preset test environment configuration list, wherein the preset test environment configuration list comprises a corresponding relation between the test environment and the test environment configuration condition;
The test environment configuration conditions comprise system setting conditions of the computer and BIOS setting conditions of the computer;
Based on a preset test environment configuration list, configuring the test environment of the computer into a test environment corresponding to the test environment configuration condition in the preset test environment configuration list, wherein the method comprises the following steps:
setting the system setting of the computer according to the system setting conditions and setting the BIOS setting of the computer according to the BIOS setting conditions based on the preset test environment configuration list;
the system setting conditions comprise firewall setting of the computer and/or setting of a testing tool in the computer, wherein the testing tool is used for performing the performance test;
the BIOS setting condition comprises any one or more of input and output setting of the computer, startup self-checking setting of the computer and self-starting setting of the computer.
2. The method for testing a computer according to claim 1, wherein determining whether the computer satisfies a preset performance test condition comprises:
Acquiring the current system setting of the computer and the current BIOS setting of the computer;
Judging whether the current system setting is consistent with the system setting condition and whether the current BIOS setting is consistent with the BIOS setting condition;
If the current system setting is consistent with the system setting conditions and the current BIOS setting is consistent with the BIOS setting conditions, judging that the computer meets the preset performance test conditions;
Otherwise, judging that the computer does not meet the preset performance test condition.
3. The method for testing a computer according to claim 1, wherein determining that an abnormality has occurred in a testing environment of the computer comprises:
Acquiring the current system setting of the computer and the current BIOS setting of the computer;
When the current system setting is inconsistent with the system setting condition and/or the current BIOS setting is inconsistent with the BIOS setting condition, judging that the testing environment of the computer is abnormal;
And when the read and/or write functions of the operating system of the computer are abnormal, judging that the testing environment of the computer is abnormal.
4. The method for testing a computer according to claim 3, wherein performing a corresponding repair operation on the computer based on an abnormal condition of the test environment comprises:
Resetting the system setting of the computer according to the system setting conditions when the current system setting is inconsistent with the system setting conditions;
Resetting the BIOS setting of the computer according to the BIOS setting condition when the current BIOS setting is inconsistent with the BIOS setting condition;
and when the read and/or write function of the operating system of the computer is abnormal, determining a memory with abnormal read and/or write in the computer, and repairing the memory.
5. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the tester of the computer according to any of claims 1 to 4.
6. A test device for a computer, comprising:
a memory for storing a computer program;
A processor for implementing the steps of the method for testing a computer according to any one of claims 1 to 4 when executing said computer program.
7. A computer, characterized in that, a test apparatus comprising the computer of claim 6.
CN202210582402.1A 2022-05-26 2022-05-26 A computer testing method and related components Active CN114816884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210582402.1A CN114816884B (en) 2022-05-26 2022-05-26 A computer testing method and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210582402.1A CN114816884B (en) 2022-05-26 2022-05-26 A computer testing method and related components

Publications (2)

Publication Number Publication Date
CN114816884A CN114816884A (en) 2022-07-29
CN114816884B true CN114816884B (en) 2025-03-18

Family

ID=82518959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210582402.1A Active CN114816884B (en) 2022-05-26 2022-05-26 A computer testing method and related components

Country Status (1)

Country Link
CN (1) CN114816884B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144874A (en) * 2018-08-22 2019-01-04 北京奇虎科技有限公司 A kind of monitoring method and device for testing environment
CN111176910A (en) * 2018-11-29 2020-05-19 通号城市轨道交通技术有限公司 System function testing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918397A (en) * 2021-10-28 2022-01-11 浪潮(山东)计算机科技有限公司 Pressure testing method, device, equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144874A (en) * 2018-08-22 2019-01-04 北京奇虎科技有限公司 A kind of monitoring method and device for testing environment
CN111176910A (en) * 2018-11-29 2020-05-19 通号城市轨道交通技术有限公司 System function testing method and device

Also Published As

Publication number Publication date
CN114816884A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN103970564A (en) Automatic repairing and upgrading method of embedded operating system and embedded operating system with automatic repairing and upgrading functions
CN111949551A (en) Application program testing method, device, equipment and storage medium
CN110737481A (en) Starting method of embedded LINUX operating system based on multiple backup bootstrap programs
CN112948190B (en) A server hardware testing method, system and related device
JP5293062B2 (en) Computer apparatus, memory diagnosis method, and memory diagnosis control program
CN115495275A (en) Storage system and control method thereof
CN108572892B (en) PowerPC multi-core processor-based offline test method and device
CN108089961A (en) One kind is based on MOC boards hardware reboot test methods and system
CN114816884B (en) A computer testing method and related components
JP2009271737A (en) Information processor
TWI623834B (en) Booting method for computer system
CN113315675A (en) White box switch U-Boot automatic testing method, system and storage medium
CN106201787A (en) Terminal control method and device
CN108051728A (en) One kind is based on MOC boards hardware AC test methods and system
CN107451043A (en) A kind of detection method and device of server stability
CN111382016A (en) Method and device for connecting test terminal and computer
CN112395121A (en) Drive loading processing method and device, storage medium and computer equipment
JP4635993B2 (en) Startup diagnostic method, startup diagnostic method and program
CN115599645A (en) Method and device for testing stability of linux drive module
CN110704318B (en) Map data automatic testing method, terminal device and storage medium
CN115391110A (en) Test method of storage device, terminal device and computer readable storage medium
CN113377588A (en) Sustainable integration test method and device for hard disk and computer equipment
CN113721992A (en) BIOS starting method and related device of server
CN113886125A (en) System abnormal starting repair method, device, server and storage medium
CN112181544B (en) Java application running method, system and device and computer readable 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
GR01 Patent grant