Disclosure of Invention
The technical problem to be solved by the present invention is to overcome the existing defects, and provide a computer hardware self-checking method and system, so as to solve the problems that the detection efficiency of the hardware proposed in the background art is low, the detection data of the hardware is inconvenient to monitor, and particularly, the hardware self-checking of a plurality of computers is inconvenient in office work.
In order to achieve the purpose, the invention provides the following technical scheme: a computer hardware self-checking method comprises the following steps:
step 1: connecting a computer with a self-checking system;
step 2: the self-checking system retrieves the hardware data of the computer and records the hardware data to the self-checking system;
and step 3: monitoring computer hardware data through a self-checking system;
and 4, step 4: the self-checking system selects a control computer to carry out hardware self-checking;
and 5: and the self-checking system feeds back a detection result.
Preferably, thestep 1 comprises the following steps:
step 1.1: the self-checking system is in communication connection with the computers through data lines;
step 1.2: the self-checking system is interacted with a plurality of computers through data lines.
Preferably, the step 2 comprises the following steps:
step 2.1: the self-checking system retrieves an initial threshold data block of the computer hardware;
step 2.2: each data block head has a 'check sum' field, and before the data block is recorded in the self-checking system, the self-checking system can recalculate the check sum and record the check sum in the field;
step 2.3: finally, the initial data block is recorded to a self-test system.
Preferably, the step 3 comprises the following steps:
step 3.1: recording hardware data of the computer once every certain time;
step 3.2: when the corresponding data block is recorded in the self-checking system again, the self-checking system can recalculate the checksum of the data block and compare the checksum with the value in the initial checksum field;
step 3.3: if the recorded data block does not belong to the initial data block, outputting an error prompt by the self-checking system; if the recorded data block belongs to the initial data block, the self-checking system records the data block;
step 3.4: and outputting a monitoring curve according to the data blocks recorded by the self-checking system, and monitoring the data trend of the computer hardware.
Preferably, the step 4 comprises the following processes:
step 4.1: acquiring monitoring data of a self-checking system;
step 4.2: when the self-checking system outputs error information, the self-checking system sends a self-checking prompt to a corresponding computer, and then prompts an operator to stop operating within a certain time and then carry out self-checking;
step 4.3: when the monitored data value exceeds a preset pre-inspection value, the self-inspection system sends a prompt to a corresponding computer, and an operator selects to perform self-inspection immediately/later through an operating system;
step 4.4: and the computer self-checking system generates a corresponding reference code according to the detection result.
Preferably, the step 5 comprises the following steps:
step 5.1: the self-checking system acquires a reference code of a computer;
step 5.2: the self-checking system calls the corresponding resource bar according to the reference code;
step 5.3: and the self-checking system outputs a self-checking result according to the corresponding resource bar.
A computer hardware self-checking method and system, the self-checking system includes:
the data distribution module is used for connecting the plurality of computers with the self-checking system in a communication way;
the hardware data acquisition module is used for acquiring hardware data and self-checking results of a plurality of computers;
the Oracle module is used for recalculating the checksum and recording the checksum to the field, and when the data block is recorded to the self-checking system again, the checksum of the data block is recalculated and compared with the value in the initial checksum field;
the error prompt module is used for sending a self-checking prompt to the corresponding computer and prompting the operator for the next operation;
the data management module is used for managing the input data to generate a monitoring curve;
the monitoring data acquisition module is used for acquiring monitoring data of the self-checking system;
the data comparison module is used for comparing the monitoring data value with a preset pre-detection value;
the resource management module is used for recording a hardware name resource bar corresponding to the reference code, and outputting a corresponding hardware name every time one code is acquired;
the data output module is used for outputting and displaying the self-checking and monitoring results;
the central processing module is used for processing data in the system;
and the data storage module is used for storing and recording the acquired data.
Preferably, the data distribution module, the hardware data acquisition module, the Oracle module, the error prompt module, the data management module, the monitoring data acquisition module, the data comparison module, the resource management module and the data output module are all electrically connected with the central processing module.
Preferably, the data distribution module is connected with the computer through a data line, the self-checking system is connected with the computer through the data distribution module, the data distribution module is electrically connected with the hardware data acquisition module, the hardware data acquisition module is electrically connected with the Oracle module, and the Oracle module is electrically connected with the error prompt module.
Preferably, the Oracle module is electrically connected with the data management module, the data management module is electrically connected with the monitoring data acquisition module, the monitoring data acquisition module is electrically connected with the data output module through the data comparison module, and the data output module is electrically connected with the resource management module.
Compared with the prior art, the invention provides a computer hardware self-checking method and a system, which have the following beneficial effects:
1. the invention sets the self-checking system to connect several computers with the self-checking system, retrieving an initial threshold data block of the computer hardware through a hardware data acquisition module in the self-test system, before the data block is recorded in the self-checking system, the check sum is recalculated through an Oracle module and recorded in the field, finally the initial data block is recorded in the self-checking system through a data storage module, hardware data of a computer are collected and recorded once every certain time, when the corresponding data block is recorded again in the Oracle module, the Oracle module recalculates the checksum of the data block and compares the checksum with the value in the initial checksum field, if the recorded data block does not belong to the initial data block, the self-checking system outputs an error prompt, so that hardware data of a plurality of computers can be monitored simultaneously, and the detection efficiency is improved;
2. according to the invention, the monitoring data acquisition module is arranged, the monitoring data of the self-checking system is acquired through the monitoring data acquisition module, when the error information output by the self-checking system is acquired, the self-checking system sends a self-checking prompt to a corresponding computer, and at the moment, an operator is prompted to stop operating within a certain time and then perform self-checking; the monitoring data value is compared with a preset pre-detection value through a data comparison module, when the monitoring data value exceeds the preset pre-detection value, a self-detection system sends a prompt to a corresponding computer, and an operator selects to perform self-detection immediately/later through an operating system, so that hardware can be detected automatically in time, and unnecessary troubles caused by hardware faults are reduced;
3. according to the invention, by arranging the resource management module, the computer generates a corresponding reference code according to the detection result after self-checking, the self-checking system acquires the reference code of the computer and calls the resource bar corresponding to the resource management module according to the reference code, so that the self-checking system outputs the self-checking result according to the corresponding resource bar, and the self-checking result is output through the data output module, thereby facilitating an operator to determine the source of the hardware problem.
The device has the advantages that the structure is scientific and reasonable, the use is safe and convenient, and great help is provided for people.
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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1-4, the present invention provides a technical solution: a computer hardware self-checking method comprises the following steps:
step 1: connecting a computer with a self-checking system;
step 2: the self-checking system retrieves the hardware data of the computer and records the hardware data to the self-checking system;
and step 3: monitoring computer hardware data through a self-checking system;
and 4, step 4: the self-checking system selects a control computer to carry out hardware self-checking;
and 5: and the self-checking system feeds back a detection result.
In the present invention, preferably,step 1 comprises the steps of:
step 1.1: the self-checking system is in communication connection with the computers through data lines;
step 1.2: the self-checking system is interacted with a plurality of computers through data lines.
In the present invention, preferably, step 2 includes the steps of:
step 2.1: the self-checking system retrieves an initial threshold data block of the computer hardware;
step 2.2: each data block head has a 'check sum' field, and before the data block is recorded in the self-checking system, the self-checking system can recalculate the check sum and record the check sum in the field;
step 2.3: finally, the initial data block is recorded to a self-test system.
In the present invention, preferably, step 3 includes the steps of:
step 3.1: recording hardware data of the computer once every certain time;
step 3.2: when the corresponding data block is recorded in the self-checking system again, the self-checking system can recalculate the checksum of the data block and compare the checksum with the value in the initial checksum field;
step 3.3: if the recorded data block does not belong to the initial data block, outputting an error prompt by the self-checking system; if the recorded data block belongs to the initial data block, the self-checking system records the data block;
step 3.4: and outputting a monitoring curve according to the data blocks recorded by the self-checking system, and monitoring the data trend of the computer hardware.
In the present invention, preferably, step 4 includes the following steps:
step 4.1: acquiring monitoring data of a self-checking system;
step 4.2: when the self-checking system outputs error information, the self-checking system sends a self-checking prompt to a corresponding computer, and then prompts an operator to stop operating within a certain time and then carry out self-checking;
step 4.3: when the monitored data value exceeds a preset pre-inspection value, the self-inspection system sends a prompt to a corresponding computer, and an operator selects to perform self-inspection immediately/later through an operating system;
step 4.4: and the computer self-checking system generates a corresponding reference code according to the detection result.
In the present invention, preferably, step 5 includes the steps of:
step 5.1: the self-checking system acquires a reference code of a computer;
step 5.2: the self-checking system calls the corresponding resource bar according to the reference code;
step 5.3: and the self-checking system outputs a self-checking result according to the corresponding resource bar.
The working principle and the using process of the invention are as follows: when the system is used, the self-checking system is in communication connection with a plurality of computers through data lines, the self-checking system is interacted with the computers through the data lines, retrieves an initial threshold data block of computer hardware, the head of each data block is provided with a 'checksum' field, before the data block is recorded in the self-checking system, the self-checking system recalculates the checksum and records the checksum in the field, finally the initial data block is recorded in the self-checking system, the hardware data of the computer is recorded once every certain time, when the corresponding data block is recorded in the self-checking system again, the self-checking system recalculates the checksum of the data block and compares the checksum with the value in the initial checksum field, and if the recorded data block does not belong to the initial data block, the self-checking system outputs an error prompt; if the recorded data block belongs to the initial data block, the self-checking system records the data block, outputs a monitoring curve according to the data block recorded by the self-checking system, monitoring data trend of computer hardware, then obtaining monitoring data of self-checking system, when the self-checking system outputs error information, the self-checking system sends a self-checking prompt to the corresponding computer, at the moment, the operator is prompted to stop operating within a certain time, then self-checking is carried out, when the monitored data value exceeds a preset pre-detection value, the self-detection system sends a prompt to a corresponding computer, an operator selects to carry out self-detection immediately/later through an operating system, the computer self-detection system generates a corresponding reference code according to a detection result, the self-detection system obtains the reference code of the computer, the self-detection system calls a corresponding resource bar according to the reference code, and the self-detection system outputs a self-detection result according to the corresponding resource bar.
Example two
Referring to fig. 1-4, the present invention provides a technical solution: a computer hardware self-checking method comprises the following steps:
step 1: connecting a computer with a self-checking system;
step 2: the self-checking system retrieves the hardware data of the computer and records the hardware data to the self-checking system;
and step 3: monitoring computer hardware data through a self-checking system;
and 4, step 4: the self-checking system selects a control computer to carry out hardware self-checking;
and 5: and the self-checking system feeds back a detection result.
In the present invention, preferably,step 1 comprises the steps of:
step 1.1: the self-checking system is in communication connection with the computers through data lines;
step 1.2: the self-checking system is interacted with a plurality of computers through data lines.
In the present invention, preferably, step 2 includes the steps of:
step 2.1: the self-checking system retrieves an initial threshold data block of the computer hardware;
step 2.2: each data block head has a 'check sum' field, and before the data block is recorded in the self-checking system, the self-checking system can recalculate the check sum and record the check sum in the field;
step 2.3: finally, the initial data block is recorded to a self-test system.
In the present invention, preferably, step 3 includes the steps of:
step 3.1: recording hardware data of the computer once every certain time;
step 3.2: when the corresponding data block is recorded in the self-checking system again, the self-checking system can recalculate the checksum of the data block and compare the checksum with the value in the initial checksum field;
step 3.3: if the recorded data block does not belong to the initial data block, outputting an error prompt by the self-checking system; if the recorded data block belongs to the initial data block, the self-checking system records the data block;
step 3.4: and outputting a monitoring curve according to the data blocks recorded by the self-checking system, and monitoring the data trend of the computer hardware.
In the present invention, preferably, step 4 includes the following steps:
step 4.1: acquiring monitoring data of a self-checking system;
step 4.2: when the self-checking system outputs error information, the self-checking system sends a self-checking prompt to a corresponding computer, and then prompts an operator to stop operating within a certain time and then carry out self-checking;
step 4.3: when the monitored data value exceeds a preset pre-inspection value, the self-inspection system sends a prompt to a corresponding computer, and an operator selects to perform self-inspection immediately/later through an operating system;
step 4.4: and the computer self-checking system generates a corresponding reference code according to the detection result.
In the present invention, preferably, step 5 includes the steps of:
step 5.1: the self-checking system acquires a reference code of a computer;
step 5.2: the self-checking system calls the corresponding resource bar according to the reference code;
step 5.3: and the self-checking system outputs a self-checking result according to the corresponding resource bar.
A computer hardware self-checking method and system, the self-checking system includes:
the data distribution module 2 is used for connecting the plurality of computers with the self-checking system in a communication way;
the hardware data acquisition module 3 is used for acquiring hardware data and self-checking results of a plurality of computers;
the Oracle module 4 is used for recalculating the checksum and recording the checksum to the field, and when the data block is recorded to the self-checking system again, the checksum of the data block is recalculated and compared with the value in the initial checksum field;
the error prompt module 5 is used for sending a self-checking prompt to the corresponding computer to prompt an operator to perform the next operation;
the data management module 6 is used for managing the input data to generate a monitoring curve;
the monitoring data acquisition module 7 is used for acquiring monitoring data of the self-checking system;
the data comparison module 8 is used for comparing the monitoring data value with a preset pre-detection value;
the resource management module 9 is configured to record a hardware name resource bar corresponding to the reference code, and output a corresponding hardware name every time a code is acquired;
the data output module 10 is used for outputting and displaying the self-checking and monitoring results;
thecentral processing module 1 is used for processing data in the system;
and the data storage module 11 is used for storing and recording the acquired data.
In the present invention, preferably, the data distribution module 2, the hardware data acquisition module 3, the Oracle module 4, the error prompt module 5, the data management module 6, the monitoring data acquisition module 7, the data comparison module 8, the resource management module 9 and the data output module 10 are all electrically connected to thecentral processing module 1.
In the invention, preferably, the data distribution module 2 is in communication connection with the computer through a data line, the self-checking system is in communication connection with the computer through the data distribution module 2, the data distribution module 2 is electrically connected with the hardware data acquisition module 3, the hardware data acquisition module 3 is electrically connected with the Oracle module 4, and the Oracle module 4 is electrically connected with the error prompt module 5.
In the invention, preferably, the Oracle module 4 is electrically connected with the data management module 6, the data management module 6 is electrically connected with the monitoring data acquisition module 7, the monitoring data acquisition module 7 is electrically connected with the data output module 10 through the data comparison module 8, and the data output module 10 is electrically connected with the resource management module 9.
The working principle and the using process of the invention are as follows: when in use, a plurality of computers are connected with a data distribution module 2 in a self-checking system through a data line, the self-checking system is interacted with the computers through the data line, the self-checking system retrieves an initial threshold data block of computer hardware through a hardware data acquisition module 3, the head of each data block is provided with a 'checksum' field, before the data block is recorded in the self-checking system, the self-checking system recalculates the checksum through an Oracle module 4 and records the checksum in the field, finally the initial data block is recorded in the self-checking system through a data storage module 11, the hardware data of the computers are acquired and recorded once every certain time through the hardware data acquisition module 3 and the Oracle module 4, when the corresponding data block is recorded in the Oracle module 4 again, the Oracle module 4 recalculates the checksum of the data block and compares the checksum with the value in the initial checksum field, if the recorded data block does not belong to the initial data block, the self-checking system outputs an error prompt through the error prompt module 5; if the recorded data block belongs to the initial data block, the self-checking system records the data block, then manages the input data through the data management module 6 to generate a monitoring curve, monitors the data trend of computer hardware, simultaneously acquires the monitoring data of the self-checking system through the monitoring data acquisition module 7, and when error information output by the self-checking system is acquired, the self-checking system sends a self-checking prompt to a corresponding computer, and at the moment, prompts an operator to stop operating within a certain time and then performs self-checking; the monitoring data value is compared with a preset pre-detection value through the data comparison module 8, when the monitoring data value exceeds the preset pre-detection value, the self-detection system sends a prompt to a corresponding computer, an operator selects to carry out self-detection immediately/later through the operating system, the computer generates a corresponding reference code according to a detection result after self-detection, the self-detection system obtains the reference code of the computer, a resource strip corresponding to the resource management module 9 is called according to the reference code, the self-detection system outputs a self-detection result according to the corresponding resource strip, the self-detection result is output through the data output module 10, hardware data of a plurality of computers can be monitored simultaneously, and a prompt is sent for the unqualified condition of the hardware data, so that the hardware automatic detection is carried out in time, and unnecessary troubles caused by hardware faults are reduced.
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.