CN115794468A - Server fault analysis and diagnosis method in software test process - Google Patents

Server fault analysis and diagnosis method in software test process Download PDF

Info

Publication number
CN115794468A
CN115794468A CN202211446477.3A CN202211446477A CN115794468A CN 115794468 A CN115794468 A CN 115794468A CN 202211446477 A CN202211446477 A CN 202211446477A CN 115794468 A CN115794468 A CN 115794468A
Authority
CN
China
Prior art keywords
fault
server
scanning
analyzing
diagnosing
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
CN202211446477.3A
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.)
Nanjing Cornerstone Data Technology Co ltd
Original Assignee
Nanjing Cornerstone Data 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 Nanjing Cornerstone Data Technology Co ltd filed Critical Nanjing Cornerstone Data Technology Co ltd
Priority to CN202211446477.3A priority Critical patent/CN115794468A/en
Publication of CN115794468A publication Critical patent/CN115794468A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a server fault analysis and diagnosis method in a software test process, which relates to the technical field of servers, and is characterized in that when a server fails, the server is used for performing self-checking analysis to analyze the reason of the failure, but the self-checking range is larger, the range of related software and hardware is larger, the screening range after error reporting is larger, and the processing period after the self-checking is finished at the later stage is prolonged to a certain extent.

Description

Server fault analysis and diagnosis method in software test process
Technical Field
The invention relates to the technical field of servers, in particular to a server fault analysis and diagnosis method in a software test process.
Background
Software testing describes a process used to facilitate the identification of the correctness, integrity, security, and quality of software. The process of operating a program under specified conditions to discover bugs, measure software quality, and evaluate whether it can meet design requirements, where software testing is supported by a server, which refers to a computer system in a network that can provide some service to other machines.
To this end, the chinese application patent No.: CN112988444a, discloses a processing method, a processing apparatus, a processing device, and a computer-readable storage medium for server cluster fault diagnosis. According to the embodiment of the disclosure, the fault types causing the automatic diagnosis failure are combed, and the fault which cannot be automatically diagnosed due to incomplete information or multi-component error report is reported in real time through the diagnosis failure information and enters the automatic processing flow, so that the automatic diagnosis failure fault processing is faster and more efficient. In addition, the processing method realizes the distinguishing and counting of the automatic diagnosis results based on the keywords contained in the diagnosis failure information in the historical operation information, improves the feasibility of data counting, and is beneficial to the improvement and optimization of the automatic diagnosis capability of subsequent versions of the server by carrying out real-time feedback and recording on data by the online system docking server suppliers.
To this end, the chinese application patent No.: CN105138460 discloses a software testing method and system, which are applied to a network topology structure, wherein the network topology structure comprises a plurality of network nodes, an application server and a data server, at least one network node sends a first request to the application server, simultaneously records the current time point as a first time point, the application server responds to the first request, sends a second request to the data server, simultaneously records the current time point as a second time point, the application server records the current time point as a third time point when receiving response information fed back by the data server, simultaneously feeds back the response information to the network nodes, the network nodes record the current time point as a fourth time point when receiving the response information, the total response time can be determined by the difference between the fourth time point and the first time point, the database response time can be determined by the difference between the third time point and the second time point, and the total response time and the database response time can be used for analyzing fault problems.
At present, when a server fails, self-checking analysis is carried out through the server to analyze the reason of the failure, but the self-checking range is large, the range of related software and hardware is large, the screening range after error reporting is large, and the processing period of the server after the self-checking is finished at the later stage is prolonged to a certain extent.
In order to solve the problems, the server fault analysis and diagnosis method in the software test process is provided.
Disclosure of Invention
The invention aims to provide a server fault analysis and diagnosis method in a software test process, which solves the problem of large screening range and long processing period in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a server fault analysis and diagnosis method in a software test process is characterized in that server faults are conducted through electrification, and connection of an electrified power line and an I/0 line is normal;
the fault self-checking analysis comprises a power-on fault, a start and close fault, a disk fault, a display fault, an installation fault, an operation application fault, a local area network fault, an Internet fault, a port peripheral fault, an audio and video fault and a compatibility or coordination fault, wherein the faults are divided into hardware detection and software detection;
hardware detection: reporting a load power calculation value of a server when a power supply fails or is insufficient, self-checking and scanning a hard disk by a hard disk failure system, and reporting an error of an operating system by a main board BOIS error report;
software detection: detecting and analyzing system logs;
the server failure responds to server failure analysis, whether the server is powered on or not is preferentially detected, port access is detected by preferential processing in a powered-on state, scanning of a magnetic disk and the like is skipped after the server is powered on, local area network plugging diagnosis is carried out, the port peripheral failure interface detects insertion, the connection is normal, the next processing procedure is carried out, data of a data end is transmitted to a display area, image presentation is completed through a display device, and installation failure access and port peripheral interface failure self-checking scanning are skipped when the data is normal;
the method comprises the steps of displaying, processing, mounting and fault analysis, software testing and mounting, hardware scanning one by one, mainboard power supply scanning, memory strip insertion scanning, disk scanning and nuclear display/display card scanning.
Preferably, the power-on fault includes that the server host cannot be powered on, and is divided into a state that the power supply fan stops after rotating, the motor is switched off, and no display is displayed when the server host is started.
Preferably, the power-on detection analyzes whether the voltage is kept in a 220V +/-10% area, whether the voltage and the current are stable, and whether the low line of the zero line of the live line wire is connected in a wrong way or in a virtual way.
Preferably, the power-on fault analysis server starts and stops fault analysis, crashes, errors, black screens and repeated restarting existing in the starting process are analyzed, a magnetic disk is scanned by a scanning port, system files in the magnetic disk are read, and display imaging is displayed after the system files are read.
Preferably, the operation applies fault scanning and a look-up of viruses in the disk, drive level updates.
Preferably, the fault self-check of the server is completed under the coordination of the fault detection of the local area network, and after the fault screening is displayed, the screening of the audio and video faults is limited.
Preferably, the audio/video fault screening checks whether the multimedia function is abnormal due to the fact that a corresponding plug-in or patch is not installed, and if the multimedia playing and production faults occur under different players and different multimedia files are played repeatedly, the related system setting is checked.
Preferably, the video input and output related faults should first check whether the signal mode setting adopted by the video application software is correct, that is, the same mode as that adopted by the signal source and the signal terminal should be adopted, and whether the audio input settings of the video import software and the sound card are consistent or not should be conducted.
Preferably, the server failure analysis is used for priority elimination of display failure, port peripheral failure, installation failure and disk scanning in sequence after the power-on type failure is eliminated.
Preferably, after the priority fault is eliminated, the power supply is adapted to all normal conditions, and then the server start-stop state and the Internet network state are screened in sequence.
Compared with the prior art, the invention has the following beneficial effects:
1. the method for analyzing and diagnosing the faults of the server in the software testing process eliminates all faults by setting the priority level when the fault analysis is carried out, obviously shortens the self-checking period of the server according to the reduced fault screening range after certain logic calculation, carries out logic operation according to the classification under the classification processing, and can directly screen the fault reporting reason when the fault is operated at a certain stage.
Drawings
FIG. 1 is a schematic diagram illustrating a self-test analysis of server failures according to the present invention;
FIG. 2 is a fault priority logic transport block diagram of the present invention;
FIG. 3 is a schematic diagram of a priority logic calculation procedure according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
For a further understanding of the invention, reference should be made to the following detailed description taken in conjunction with the accompanying drawings.
With reference to fig. 1-3, according to the server fault analysis and diagnosis method in the software testing process of the present invention, a server fault is performed by powering on, and the power line and the I/0 line are connected normally;
the fault self-checking analysis comprises a power-on fault, a start-up and shut-down fault, a disk fault, a display fault, an installation fault, an operation application fault, a local area network fault, an Internet fault, a port peripheral fault, an audio and video fault, and a compatibility or adaptability fault, wherein the fault is subdivided into hardware detection and software detection;
hardware detection: reporting a load power calculation value of a server when a power supply fails or is insufficient, self-checking and scanning a hard disk by a hard disk failure system, and reporting an error of an operating system by a main board BOIS error report;
software detection: detecting and analyzing system logs;
the method comprises the steps that a server fault responds to server fault analysis, whether a server is powered on or not is preferentially detected, the power-on fault comprises the condition that a server host cannot be powered on, the server host stops after a power fan rotates, a motor is switched off, no display is carried out when the server is started, whether voltage is kept in a 220V +/-10% area or not is detected and analyzed when the server is powered on, whether voltage current is stable or not, whether a zero line and a low line of a live wire and a zero line of a connecting wire are connected in a wrong or virtual mode or not is judged, under the normal power-on condition, port access is detected by preferential processing, scanning of a magnetic disc and the like is skipped after the server is powered on, local area network plugging diagnosis is carried out, the fault interface of the peripheral equipment of a port detects insertion, the connection normally enters the next processing procedure, data of a data end is transmitted to a display area, image presentation is completed through a display device, and the fault access and the fault self-detection scanning of the peripheral interface of the port is skipped when the normal display is carried out;
displaying non-display processing installation fault analysis, testing and installing software, scanning hardware one by one, supplying power to a main board for scanning, inserting and scanning a memory bank, scanning a magnetic disk, and scanning a nuclear display/display card;
after the power-on fault analysis server starts and stops fault analysis, the crash, error report, black screen and repeated restart existing in the starting process are analyzed, a magnetic disk is scanned by a scanning port, a system file in the magnetic disk is read, display imaging is read, under the conditions that the connection detection of the interface is finished, and under the condition that various power supplies of a power supply are normal and the load is normal, the analysis of the starting and stopping faults of the server is eliminated after the display equipment is normal, when the display module displays that the faults occur, the display can be directly influenced when the equipment is started and stopped and the faults occur,
after the equipment displays normally, fault self-detection of the server is completed under the coordination of fault detection of the local area network, after fault screening is displayed, screening of audio and video faults is performed in a limited way, fault scanning is operated and applied, viruses in a magnetic disk are searched, the driving degree is updated, the driving degree is also updated under the support of the local area network, and virus killing treatment is performed on the server through updating of a virus library;
the audio and video fault screening checks whether the multimedia function is abnormal due to the fact that corresponding plug-ins or patches are not installed, and faults of multimedia playing and manufacturing are detected, if the faults are reproduced under different players and different multimedia files are played, related system settings are checked, the faults related to video input and output are checked whether the video application software adopts signal system setting correctly or not, namely the faults are the same as a signal source and a signal terminal, whether video import software and audio input setting of a sound card are consistent or not is conducted,
the method comprises the steps that after a power-on fault is eliminated, priority elimination is sequentially carried out on a display fault, a port peripheral fault, an installation fault and a disk scanning in a priority mode, after the priority fault is eliminated, power supply adaptation is carried out normally, a server start-stop state and an Internet network state are sequentially screened, access detection of the port peripheral can directly influence a server drive under the condition that power supply of the server is normal, under the condition that an installed disk memory and a display card are normal, the disk is screened out, then the working state of a display is analyzed, if the analysis result is normal, the next step is carried out, the operation is abnormal, and if the power supply is normal, an interface is normal, the fault is displayed;
after the display fault is screened out, the local area network connection fails, in a priority processing stage, under the condition that the interface connection is normal, the local area network receiving unit fails, when the local area network connection is normal, audio and video and compatible matching faults are analyzed simultaneously, the analysis fault error report achieves adaptation through updating a driver and a version, then operation and application are standardized, the self-checking range is reduced through grading the analysis fault report, and the fault self-checking period is also improved.
It is noted that, herein, relational terms such as first and second, and the like may be 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.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A method for analyzing and diagnosing server faults in a software testing process is characterized by comprising the following steps: the server fault is carried out by electrifying, and the electrified power line and the I/0 line are normally connected;
the fault self-checking analysis comprises a power-on fault, a start-up and shut-down fault, a disk fault, a display fault, an installation fault, an operation application fault, a local area network fault, an Internet fault, a port peripheral fault, an audio and video fault, and a compatibility or adaptability fault, wherein the fault is subdivided into hardware detection and software detection;
hardware detection: reporting a load power calculation value of a server when a power supply fails or is insufficient, self-checking and scanning a hard disk by a hard disk failure system, and reporting an error of an operating system by a main board BOIS error report;
software detection: detecting and analyzing system logs;
the server failure responds to server failure analysis, whether the server is powered on or not is preferentially detected, port access is detected by preferential processing in a powered-on state, scanning of a magnetic disk and the like is skipped after the server is powered on, local area network plugging diagnosis is carried out, the port peripheral failure interface detects insertion, the connection is normal, the next processing procedure is carried out, data of a data end is transmitted to a display area, image presentation is completed through a display device, and installation failure access and port peripheral interface failure self-checking scanning are skipped when the data is normal;
the method comprises the steps of displaying, processing, mounting and fault analysis, software testing and mounting, hardware scanning one by one, mainboard power supply scanning, memory strip insertion scanning, disk scanning and nuclear display/display card scanning.
2. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 1, wherein the method comprises the following steps: the power-on faults include that the server host cannot be powered on, the power supply fan stops after rotating, the motor is switched off, and no display is displayed when the server is started.
3. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 2, wherein: and (3) detecting and analyzing whether the voltage is kept in a 220V +/-10% area, whether the voltage and the current are stable, and whether the low line of the zero line of the live line wire is connected in a wrong way or in a virtual way.
4. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 1, wherein the method comprises the following steps: the method comprises the steps of starting and closing fault analysis by a power-on fault analysis server, analyzing the dead halt, error reporting, screen blacking and repeated restarting existing in the starting process, scanning a magnetic disk by a scanning port, reading a system file in the magnetic disk, and displaying and imaging after reading.
5. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 1, wherein the method comprises the following steps: and the operation applies fault scanning, searches for viruses in the disk and updates the driving degree.
6. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 1, wherein the method comprises the following steps: and completing fault self-detection on the server under the coordination of local area network fault detection, and after fault screening is displayed, the screening of audio and video faults is limited.
7. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 6, wherein the method comprises the following steps: and (4) screening and checking whether the multimedia function is abnormal due to the fact that corresponding plug-ins or patches are not installed, and checking related system settings if the multimedia playing and manufacturing faults occur under different players and different multimedia files are played repeatedly.
8. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 6, wherein the method comprises the following steps: the video input and output related faults are firstly checked whether the signal system setting adopted by the video application software is correct, namely whether the same system is adopted by a signal source and a signal terminal, and whether the audio input setting of the video import and video import software and the audio input setting of the sound card are consistent or not is carried out.
9. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 1, wherein the method comprises the following steps: and after the power-on fault is eliminated, the server fault analysis preferentially eliminates the display fault, the port peripheral fault, the installation fault and the disk scanning in sequence.
10. The method for analyzing and diagnosing the fault of the server in the software testing process according to claim 9, wherein: after the priority fault is eliminated, the power supply is adapted to all normal conditions, and then the server start-stop state and the Internet network state are screened in sequence.
CN202211446477.3A 2022-11-18 2022-11-18 Server fault analysis and diagnosis method in software test process Pending CN115794468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211446477.3A CN115794468A (en) 2022-11-18 2022-11-18 Server fault analysis and diagnosis method in software test process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211446477.3A CN115794468A (en) 2022-11-18 2022-11-18 Server fault analysis and diagnosis method in software test process

Publications (1)

Publication Number Publication Date
CN115794468A true CN115794468A (en) 2023-03-14

Family

ID=85438879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211446477.3A Pending CN115794468A (en) 2022-11-18 2022-11-18 Server fault analysis and diagnosis method in software test process

Country Status (1)

Country Link
CN (1) CN115794468A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116643908A (en) * 2023-07-19 2023-08-25 深圳市同泰怡信息技术有限公司 Automatic fault alarm method based on Feiteng multipath server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116643908A (en) * 2023-07-19 2023-08-25 深圳市同泰怡信息技术有限公司 Automatic fault alarm method based on Feiteng multipath server
CN116643908B (en) * 2023-07-19 2024-03-15 深圳市同泰怡信息技术有限公司 Automatic fault alarm method based on Feiteng multipath server

Similar Documents

Publication Publication Date Title
US6532552B1 (en) Method and system for performing problem determination procedures in hierarchically organized computer systems
US20040236843A1 (en) Online diagnosing of computer hardware and software
CA2428599A1 (en) Online diagnosing of computer hardware and software
US8381036B2 (en) Systems and methods for restoring machine state history related to detected faults in package update process
CN115794468A (en) Server fault analysis and diagnosis method in software test process
KR101938203B1 (en) Apparatus for integrally managing of error generating of hardware and software in computer system
CN111273932B (en) Component refreshing method, system and computer readable storage medium
CN111048138A (en) Hard disk fault detection method and related device
CN115629968A (en) Test data recording method and device
CN115543234A (en) Log printing method and related device
CN115600623B (en) Abnormal repair notification method and device for paperless conference system
KR101938202B1 (en) A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal
CN112035301A (en) Shell-based automatic server testing method and system
CN111240882B (en) Method and system for detecting abnormal state
CN113886165B (en) Verification method, device and equipment for firmware diagnosis function and readable medium
CN107608829A (en) A kind of authentication server whether there is the method that hardware is lost
EP1381952A2 (en) Panic message analyzer
CN114201327A (en) Online disk array repairing method based on array card management tool
EP0531177B1 (en) Method and apparatus for fault detection and repair of a data processing system
CN115827451A (en) Method and device for detecting test defects, storage medium and electronic device
CN111143135A (en) Test system
CN115509777A (en) Fault processing method, device, equipment and storage medium in server
CN115562927A (en) Heterogeneous server stability testing method and device, electronic equipment and readable medium
CN111737123A (en) Fault code storage test method, device, equipment and storage medium
CN117743174A (en) Method and device for testing software program, electronic equipment 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