CN111045877A - Computer self-checking method - Google Patents

Computer self-checking method Download PDF

Info

Publication number
CN111045877A
CN111045877A CN201911118288.1A CN201911118288A CN111045877A CN 111045877 A CN111045877 A CN 111045877A CN 201911118288 A CN201911118288 A CN 201911118288A CN 111045877 A CN111045877 A CN 111045877A
Authority
CN
China
Prior art keywords
self
checking
preset
bios
port
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
CN201911118288.1A
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.)
Xi'an Haide Electronic Technology Co ltd
Original Assignee
Xi'an Haide Electronic 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 Xi'an Haide Electronic Technology Co ltd filed Critical Xi'an Haide Electronic Technology Co ltd
Priority to CN201911118288.1A priority Critical patent/CN111045877A/en
Publication of CN111045877A publication Critical patent/CN111045877A/en
Pending legal-status Critical Current

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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • 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/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a computer self-checking method, firstly copying a preset self-checking program in a storage device and a file capable of manufacturing a system boot disk into a reserved space of a BIOS; detecting whether a user-defined self-checking module exists in the BIOS; monitoring whether the current self-checking time is reached or not based on a preset self-checking time interval; if the current self-checking time is up, detecting whether a port with abnormal load exists in the reserved space of the current BIOS, and if the load of the port is lower than or higher than a preset load threshold interval, judging that the port load is abnormal; and finally, generating a self-checking result of the preset self-checking program. The invention can rapidly display computer failure and improve the reliability of the computer system.

Description

Computer self-checking method
Technical Field
The invention belongs to the technical field of computer self-inspection, and particularly relates to a computer self-inspection method.
Background
With the development of internet technology in modern society, cloud computing technology is also widely applied as a new generation of IT model. Cloud computing technology has evolved from grid computing, parallel computing, and distributed computing, with which users can conveniently access a shared pool of configurable computing resources (e.g., computing, networking, storage, applications, services, etc.) over a network on demand, with minimal administrative effort or service provider intervention to quickly provision or release resources.
With the increasing of the application business volume of enterprises every year, the demands on the cloud servers are more and more, and operation and maintenance personnel are difficult to check the health state of the servers at any time and then replace the servers in real time, so that a large amount of labor cost needs to be consumed, and the stable operation of a business system can not be guaranteed at any time.
When the computer system is designed, a detection system is not usually arranged, an external detection card is usually required to be used for detecting the system, the structure cannot timely detect the computer system, only can detect after a fault, cannot detect preventively, and cannot meet the requirements of users. In view of the foregoing, it is desirable to provide a self-test computer system that improves the reliability of the computer system.
Disclosure of Invention
The invention aims to provide a computer self-checking method which can quickly display computer faults and improve the reliability of a computer system.
The technical scheme adopted by the invention is that a computer self-checking method is implemented according to the following steps:
step 1, copying a self-checking program preset in a storage device and a file capable of manufacturing a system boot disk into a reserved space of a BIOS;
step 2, saving the preset self-checking program and the file capable of manufacturing the system boot disk stored in the reserved space of the BIOS as the self-defined self-checking module;
step 3, detecting whether a user-defined self-checking module exists in the BIOS;
when detecting that the user-defined self-checking module exists in the BIOS, detecting self-checking program configuration according to the user-defined self-checking module, and operating a preset self-checking program in the user-defined self-checking module according to the self-checking program configuration;
step 4, monitoring whether the current self-checking time is reached or not based on a preset self-checking time interval;
step 5, if the current self-checking time is up, detecting whether a port with abnormal load exists in the reserved space of the current BIOS, and if the load of the port is lower than or higher than a preset load threshold interval, detecting that the load of the port is abnormal;
and 6, generating a self-checking result of the preset self-checking program in the step 5.
The present invention is also characterized in that,
and step 1, system power-on self-test is further included before, the computer host is controlled to enter a protection verification state, and an identity identification verification instruction is generated.
The step 1 specifically comprises the following steps: reading the BIOS file, reading the preset self-checking program and the file capable of manufacturing the system boot disk stored in the reserved space of the BIOS according to the starting address and the size of the blank space, and storing the file as a self-defined self-checking module in a binary file form.
The step 4 specifically comprises the following steps: detecting the cloud server corresponding to the port with the abnormal load, and counting the current detection time;
if the current detection time is greater than the preset detection overtime time, judging that the detection is overtime;
counting the detection overtime times;
if the detection is overtime continuously, and the overtime times reach a preset time threshold, judging that the cloud server corresponding to the port with the abnormal load is abnormal in operation;
and if the continuous detection is not overtime and the times reach a preset time threshold, judging that the cloud server corresponding to the port with the abnormal load normally operates.
The step 6 specifically comprises the following steps: and storing the self-checking result into a preset path document to generate a self-checking log.
The invention has the advantages that the computer self-checking method has the advantages that when the system is started, the detection equipment automatically detects the power supply, the CPU and the hard disk of the computer, and performs the whole-process monitoring detection on the system during the starting, the running and the closing of the system, when the system has faults, the system faults can be broadcasted in voice, and small faults can be automatically repaired, so that the safe running of the computer is ensured.
Detailed Description
The present invention will be described in detail with reference to the following embodiments.
The invention discloses a computer self-checking method, which is implemented according to the following steps:
step 1, copying a self-checking program preset in a storage device and a file capable of manufacturing a system boot disk into a reserved space of a BIOS; and step 1, system power-on self-test is further included before, the computer host is controlled to enter a protection verification state, and an identity identification verification instruction is generated.
The step 1 specifically comprises the following steps: reading the BIOS file, reading the preset self-checking program and the file capable of manufacturing the system boot disk stored in the reserved space of the BIOS according to the starting address and the size of the blank space, and storing the file as a self-defined self-checking module in a binary file form.
Step 2, saving the preset self-checking program and the file capable of manufacturing the system boot disk stored in the reserved space of the BIOS as the self-defined self-checking module;
step 3, detecting whether a user-defined self-checking module exists in the BIOS;
when detecting that the user-defined self-checking module exists in the BIOS, detecting self-checking program configuration according to the user-defined self-checking module, and operating a preset self-checking program in the user-defined self-checking module according to the self-checking program configuration;
step 4, monitoring whether the current self-checking time is reached or not based on a preset self-checking time interval; the method specifically comprises the following steps: detecting the cloud server corresponding to the port with the abnormal load, and counting the current detection time;
if the current detection time is greater than the preset detection overtime time, judging that the detection is overtime;
counting the detection overtime times;
if the detection is overtime continuously, and the overtime times reach a preset time threshold, judging that the cloud server corresponding to the port with the abnormal load is abnormal in operation;
and if the continuous detection is not overtime and the times reach a preset time threshold, judging that the cloud server corresponding to the port with the abnormal load normally operates.
Step 5, if the current self-checking time is up, detecting whether a port with abnormal load exists in the reserved space of the current BIOS, and if the load of the port is lower than or higher than a preset load threshold interval, detecting that the load of the port is abnormal;
and 6, generating a self-checking result of the preset self-checking program in the step 5, specifically: and storing the self-checking result into a preset path document to generate a self-checking log.

Claims (5)

1. A computer self-checking method is characterized by being implemented according to the following steps:
step 1, copying a self-checking program preset in a storage device and a file capable of manufacturing a system boot disk into a reserved space of a BIOS;
step 2, saving the preset self-checking program and the file capable of manufacturing the system boot disk stored in the reserved space of the BIOS as the self-defined self-checking module;
step 3, detecting whether a user-defined self-checking module exists in the BIOS;
when detecting that the user-defined self-checking module exists in the BIOS, detecting self-checking program configuration according to the user-defined self-checking module, and operating a preset self-checking program in the user-defined self-checking module according to the self-checking program configuration;
step 4, monitoring whether the current self-checking time is reached or not based on a preset self-checking time interval;
step 5, if the current self-checking time is up, detecting whether a port with abnormal load exists in the reserved space of the current BIOS, and if the load of the port is lower than or higher than a preset load threshold interval, detecting that the load of the port is abnormal;
and 6, generating a self-checking result of the preset self-checking program in the step 5.
2. The computer self-checking method according to claim 1, wherein step 1 is preceded by a system power-on self-check, which controls the host computer to enter a protection and verification state and generates an identification verification instruction.
3. The computer self-test method according to claim 1, wherein the step 1 specifically comprises: reading the BIOS file, reading the preset self-checking program and the file capable of manufacturing the system boot disk stored in the reserved space of the BIOS according to the starting address and the size of the blank space, and storing the file as a self-defined self-checking module in a binary file form.
4. The computer self-test method according to claim 1, wherein the step 4 specifically comprises: detecting the cloud server corresponding to the port with the abnormal load, and counting the current detection time;
if the current detection time is greater than the preset detection overtime time, judging that the detection is overtime;
counting the detection overtime times;
if the detection is overtime continuously, and the overtime times reach a preset time threshold, judging that the cloud server corresponding to the port with the abnormal load is abnormal in operation;
and if the continuous detection is not overtime and the times reach a preset time threshold, judging that the cloud server corresponding to the port with the abnormal load normally operates.
5. The computer self-test method according to claim 1, wherein the step 6 specifically comprises: and storing the self-checking result into a preset path document to generate a self-checking log.
CN201911118288.1A 2019-11-15 2019-11-15 Computer self-checking method Pending CN111045877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911118288.1A CN111045877A (en) 2019-11-15 2019-11-15 Computer self-checking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911118288.1A CN111045877A (en) 2019-11-15 2019-11-15 Computer self-checking method

Publications (1)

Publication Number Publication Date
CN111045877A true CN111045877A (en) 2020-04-21

Family

ID=70232976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911118288.1A Pending CN111045877A (en) 2019-11-15 2019-11-15 Computer self-checking method

Country Status (1)

Country Link
CN (1) CN111045877A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312214A (en) * 2021-06-10 2021-08-27 北京百度网讯科技有限公司 Method, apparatus, electronic device and storage medium for operating computer
CN113312214B (en) * 2021-06-10 2024-05-31 北京百度网讯科技有限公司 Method, apparatus, electronic device and storage medium for operating computer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011493A1 (en) * 2003-05-06 2007-01-11 Lenovo (Beijing) Limited Method for renovating the computer operating system
CN103678053A (en) * 2012-09-07 2014-03-26 研祥智能科技股份有限公司 Computer self-check method and system
CN110417614A (en) * 2019-06-18 2019-11-05 平安科技(深圳)有限公司 Cloud Server self checking method, device, equipment and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011493A1 (en) * 2003-05-06 2007-01-11 Lenovo (Beijing) Limited Method for renovating the computer operating system
CN103678053A (en) * 2012-09-07 2014-03-26 研祥智能科技股份有限公司 Computer self-check method and system
CN110417614A (en) * 2019-06-18 2019-11-05 平安科技(深圳)有限公司 Cloud Server self checking method, device, equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312214A (en) * 2021-06-10 2021-08-27 北京百度网讯科技有限公司 Method, apparatus, electronic device and storage medium for operating computer
CN113312214B (en) * 2021-06-10 2024-05-31 北京百度网讯科技有限公司 Method, apparatus, electronic device and storage medium for operating computer

Similar Documents

Publication Publication Date Title
TWI746512B (en) Physical machine fault classification processing method and device, and virtual machine recovery method and system
CN109992350B (en) Migration method and device for virtual machines in resource pool of cloud computing system
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN106033375B (en) The system and method for power management and the computer-readable media of nonvolatile
CN105373899A (en) Server asset management method and apparatus
CN104424084A (en) System error information detection system and method for server
CN110618890B (en) Fault processing method and device, electronic equipment and computer readable storage medium
CN105243004A (en) Failure resource detection method and apparatus
CN109002384A (en) A kind of alarm method of server failure, device, equipment and storage medium
CN108280016A (en) A kind of fan detection method, device, equipment and computer readable storage medium
CN103227662A (en) Safety detection method and system of electric power communication equipment based on state control
CN104360918A (en) Self-diagnosis and self-recovery method of intelligent transformer substation system
CN114726642B (en) Quantification system based on network threat of power monitoring system
CN103309764A (en) Method and device for protection of fault-tolerant mechanism of virtual machine
CN108226775B (en) Fault self-detection method and device of wind driven generator
CN104780062A (en) Method for quickly acquiring IP address of BMC management network interface
CN103824017A (en) Method and platform for monitoring rogue programs
CN110032465A (en) A kind of BMC restarts log recording method and device
CN111045877A (en) Computer self-checking method
CN111062503B (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN109271009A (en) A kind of method, apparatus that control server backboard powers on and CPLD
CN109104314B (en) Method and device for modifying log configuration file
CN110377450A (en) A kind of hardware anomalies processing method, system and associated component
CN115587006A (en) Energy consumption management method and device for data center, terminal equipment and storage medium
CN113687867B (en) Shutdown method, system, equipment and storage medium of cloud platform cluster

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200421