CN109684133A - A kind of computer corruption state is restarted automatically method - Google Patents

A kind of computer corruption state is restarted automatically method Download PDF

Info

Publication number
CN109684133A
CN109684133A CN201811565649.2A CN201811565649A CN109684133A CN 109684133 A CN109684133 A CN 109684133A CN 201811565649 A CN201811565649 A CN 201811565649A CN 109684133 A CN109684133 A CN 109684133A
Authority
CN
China
Prior art keywords
computer
state
crash
data
control module
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
CN201811565649.2A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201811565649.2A priority Critical patent/CN109684133A/en
Publication of CN109684133A publication Critical patent/CN109684133A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Retry When Errors Occur (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to Computer Control Technology field, especially a kind of computer corruption state is restarted automatically method, comprising the following steps: S1, operation monitoring: to external connection of computer control module, control module monitors computer operating condition in real time;The judgement of S2, crash state: it is judged as that crash then enters S3, is judged as that recovery response then enters S5;S3, data save: control module is read out and saves to current computer data content;S4, computer are restarted: control module carries out forcing to restart to computer after data save;S5, signal reconnection: control module carries out signal reconnection to computer.The present invention can the crash state in time to computer judge, and can complete to be restarted automatically, prevent computer idle and damage;Computer data under crash state can be saved, reduce to crash and be lost caused by internal data;It is easy to operate using long-range control.

Description

A kind of computer corruption state is restarted automatically method
Technical field
The present invention relates to Computer Control Technology fields more particularly to a kind of computer corruption state to be restarted automatically method.
Background technique
Computer is commonly called as computer, is a kind of modern electronic computer device for supercomputing, can carry out numerical value calculating, Logic calculation can be carried out again, also have the function of store-memory.It is that can be run according to program, automatic, high speed processing magnanimity number According to modernization intelligent electronic device.
With the development of Information technology, computer has become the indispensable equipment of people's routine office work, and computer is being transported During row, the phenomenon that being easy to happen delay machine, delay machine refers to that operating system can not be recovered from a serious systemic mistake, Or system hardware level goes wrong, so that system is for a long time without response, and the phenomenon that have to restart computer.It belongs to Such case can all occur in a kind of normal phenomenon of computer running, any computer.
Restart is to solve the common operation of computer delay machine, but computer in the prior art does not have in delay machine state Under the function that is restarted automatically, manual operation can only be relied on, it is inconvenient, if do not found in time, will lead to computer It is constantly in state out of service, influences the working efficiency of computer.
Summary of the invention
The purpose of the present invention is to solve disadvantages existing in the prior art, and a kind of computer corruption state proposed It is restarted automatically method.
To achieve the goals above, present invention employs following technical solutions:
It designs a kind of computer corruption state and is restarted automatically method, comprising the following steps:
S1, operation monitoring: to external connection of computer control module, control module monitors computer operating condition in real time;
The judgement of S2, crash state: it is judged as that crash then enters S3, is judged as that recovery response then enters S5;
S3, data save: control module is read out and saves to current computer data content;
S4, computer are restarted: control module carries out forcing to restart to computer after data save;
S5, signal reconnection: control module carries out signal reconnection to computer.
Preferably, control module is connect or is wirelessly connected using data line with computer connection type in S1.
Preferably, control module is specially host computer, remote control terminal or mobile control terminal.
Preferably, control module includes prison to the current following information of computer to the monitoring of computer operating condition in S1 Control:
When current executive process, cpu busy percentage, CPU speed, cpu process number, CPU line number of passes, CPU handle count, normal operation Between, CPU reference speed, CPU core number, logic processor number, virtualization state, caching, memory size, memory available size, Memory usage amount, memory usage, memory speed, memory standards, disk activity time, disk average response time, disk are read Take speed, disk writing speed, disk size, Ethernet connection state, Ethernet network speed, bluetooth connection situation, Bluetooth transmission Speed, bluetooth signal intensity, WiFi connection state, WiFi transmission speed, WiFi signal intensity, security status.
Preferably, in S2 crash state judgement the following steps are included:
There is non-responsive state in A1, computer, then control module further judges whether computer crashes;
A2, computer current state is compared with the following items of the crash state in historical record: current CPU is utilized Rate is compared with cpu busy percentage under crash state, current CPU speed is compared with cpu busy percentage under crash state, inciting somebody to action Current memory utilization rate is compared with memory usage under crash state;
It will be compared with the non-response time T of preset crash state the non-response time;
A3, in comparison result, project of the numerical error of computer current state and crash state within N% is M or less And when the non-response time is less than 2T, it is judged as and does not crash and continue waiting for;
In comparison result, project of the numerical error of computer current state and crash state within N% be M or more simultaneously And the non-response time be greater than 2T when, be judged as crash;
In comparison result, project of the numerical error of computer current state and crash state within N% be M or more simultaneously And the non-response time be less than T when, be judged as and do not crash and continue waiting for;
In comparison result, project of the numerical error of computer current state and crash state within N% be M or more simultaneously And the non-response time be greater than T when, be judged as crash.
Preferably, it includes reading and saving the following contents that data, which save, in S3:
Data cached, internal storage data, current executive process, cpu busy percentage, CPU speed, cpu process number, CPU line number of passes, CPU Handle count, uptime, CPU reference speed, CPU core number, logic processor number, virtualization state, caching, memory are big Small, memory available size, memory usage amount, memory usage, memory speed, memory standards, disk activity time, disk are average Response time, disk reading speed, disk writing speed, disk size, Ethernet connection state, Ethernet network speed, bluetooth connect Connect situation, Bluetooth transmission speed, bluetooth signal intensity, WiFi connection state, WiFi transmission speed, WiFi signal intensity, network Safe condition.
Preferably, data are saved as and are first kept in the data of record in S3, and temporary data are stored in control module In local memory, the upload of batch is carried out to temporal data later, the data of upload are stored in network data base, system Server transfers data in network data base, and counts to the computer data under crash state, to analyze Computer corruption reason and the referential data of computer corruption state is calculated and updated, referential data leads to after updating Network transmission is crossed to control module, in order to which control module judges crash state according to new referential data.
Preferably, after the completion of computer is restarted in S4, computer number before control module returns to the crash saved to computer According to content.
Preferably, the reconnection of S5 signal, control module diagnose computer operating condition.
Preferably, after the reconnection of S5 signal, user can inquire status number before computer corruption by network login system The reason of value and system provide analysis.
A kind of computer corruption state proposed by the present invention is restarted automatically method, and beneficial effect is:
1, the present invention is provided with control module and is detected in real time to the operation conditions of computer, can be in time to computer Crash state is judged, and can complete to be restarted automatically, and prevents computer idle and damage;
2, the present invention can save the computer data under crash state, reduce to crash and damage caused by internal data It loses;
3, the present invention is easy to operate using long-range control.
Specific embodiment
The following is a clear and complete description of the technical scheme in the embodiments of the invention, it is clear that described embodiment Only a part of the embodiment of the present invention, instead of all the embodiments.
A kind of computer corruption state is restarted automatically method, comprising the following steps:
S1, operation monitoring: to external connection of computer control module, control module monitors computer operating condition in real time;Control Molding block is connect or is wirelessly connected using data line with computer connection type.Control module is specially host computer, long-range control Terminal processed or mobile control terminal.Control module is to the prison that the monitoring of computer operating condition includes to the current following information of computer Control:
When current executive process, cpu busy percentage, CPU speed, cpu process number, CPU line number of passes, CPU handle count, normal operation Between, CPU reference speed, CPU core number, logic processor number, virtualization state, caching, memory size, memory available size, Memory usage amount, memory usage, memory speed, memory standards, disk activity time, disk average response time, disk are read Take speed, disk writing speed, disk size, Ethernet connection state, Ethernet network speed, bluetooth connection situation, Bluetooth transmission Speed, bluetooth signal intensity, WiFi connection state, WiFi transmission speed, WiFi signal intensity, security status.
The judgement of S2, crash state: it is judged as that crash then enters S3, is judged as that recovery response then enters S5;
The judgement of crash state the following steps are included:
There is non-responsive state in A1, computer, then control module further judges whether computer crashes;
A2, computer current state is compared with the following items of the crash state in historical record: current CPU is utilized Rate is compared with cpu busy percentage under crash state, current CPU speed is compared with cpu busy percentage under crash state, inciting somebody to action Current memory utilization rate is compared with memory usage under crash state;
It will be compared with the non-response time T of preset crash state the non-response time;Such as T is preset as 5min.
A3, in comparison result, project of the numerical error of computer current state and crash state within N% is M When below and the non-response time is less than 2T, it is judged as and does not crash and continue waiting for;Such as N is that 10, M 2, T are preset as 5min.
In comparison result, project of the numerical error of computer current state and crash state within N% be M with When the upper and non-response time is greater than 2T, it is judged as crash;Such as N is that 10, M 2, T are preset as 5min.
In comparison result, project of the numerical error of computer current state and crash state within N% be M with When the upper and non-response time is less than T, it is judged as and does not crash and continue waiting for;Such as N is that 10, M 2, T are preset as 5min.
In comparison result, project of the numerical error of computer current state and crash state within N% be M with When the upper and non-response time is greater than T, it is judged as crash.Such as N is that 10, M 2, T are preset as 5min.
S3, data save: control module is read out and saves to current computer data content;
Data save include read and save the following contents: data cached, internal storage data, current executive process, cpu busy percentage, CPU speed, cpu process number, CPU line number of passes, CPU handle count, uptime, CPU reference speed, CPU core number, logic Processor number, virtualization state, caching, memory size, memory available size, memory usage amount, memory usage, memory speed Degree, memory standards, the disk activity time, disk average response time, disk reading speed, disk writing speed, disk size, Ethernet connection state, Ethernet network speed, bluetooth connection situation, Bluetooth transmission speed, bluetooth signal intensity, WiFi connection shape Condition, WiFi transmission speed, WiFi signal intensity, security status.
Data, which save as, first keeps in the data of record, and temporary data are stored in the memory of control module local It is interior, the upload of batch is carried out to temporal data later, the data of upload are stored in network data base, and system server is to network Data are transferred in database, and are counted to the computer data under crash state, the original so that analytical calculation machine crashes Because and the referential data of computer corruption state is calculated and is updated, referential data update after given by network transmission Control module, in order to which control module judges crash state according to new referential data.
S4, computer are restarted: control module carries out forcing to restart to computer after data save;Computer has been restarted Cheng Hou, computer data content before control module returns to the crash saved to computer.
S5, signal reconnection: control module carries out signal reconnection to computer.Control module carries out computer operating condition Diagnosis.After S5 signal reconnection, user can inquire status values and system before computer corruption by network login system The reason of providing analysis.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.

Claims (10)

1. a kind of computer corruption state is restarted automatically method, which comprises the following steps:
S1, operation monitoring: to external connection of computer control module, control module monitors computer operating condition in real time;
The judgement of S2, crash state: it is judged as that crash then enters S3, is judged as that recovery response then enters S5;
S3, data save: control module is read out and saves to current computer data content;
S4, computer are restarted: control module carries out forcing to restart to computer after data save;
S5, signal reconnection: control module carries out signal reconnection to computer.
2. a kind of computer corruption state according to claim 1 is restarted automatically method, it is characterised in that: control mould in S1 Block is connect or is wirelessly connected using data line with computer connection type.
3. a kind of computer corruption state according to claim 1 is restarted automatically method, it is characterised in that: control module Specially host computer, remote control terminal or mobile control terminal.
4. a kind of computer corruption state according to claim 1 is restarted automatically method, which is characterized in that control mould in S1 Block is to the monitoring that the monitoring of computer operating condition includes to the current following information of computer:
When current executive process, cpu busy percentage, CPU speed, cpu process number, CPU line number of passes, CPU handle count, normal operation Between, CPU reference speed, CPU core number, logic processor number, virtualization state, caching, memory size, memory available size, Memory usage amount, memory usage, memory speed, memory standards, disk activity time, disk average response time, disk are read Take speed, disk writing speed, disk size, Ethernet connection state, Ethernet network speed, bluetooth connection situation, Bluetooth transmission Speed, bluetooth signal intensity, WiFi connection state, WiFi transmission speed, WiFi signal intensity, security status.
5. a kind of computer corruption state according to claim 1 is restarted automatically method, which is characterized in that crash shape in S2 The judgement of state the following steps are included:
There is non-responsive state in A1, computer, then control module further judges whether computer crashes;
A2, computer current state is compared with the following items of the crash state in historical record: current CPU is utilized Rate is compared with cpu busy percentage under crash state, current CPU speed is compared with cpu busy percentage under crash state, inciting somebody to action Current memory utilization rate is compared with memory usage under crash state;
It will be compared with the non-response time T of preset crash state the non-response time;
A3, in comparison result, project of the numerical error of computer current state and crash state within N% is M or less And when the non-response time is less than 2T, it is judged as and does not crash and continue waiting for;
In comparison result, project of the numerical error of computer current state and crash state within N% be M or more simultaneously And the non-response time be greater than 2T when, be judged as crash;
In comparison result, project of the numerical error of computer current state and crash state within N% be M or more simultaneously And the non-response time be less than T when, be judged as and do not crash and continue waiting for;
In comparison result, project of the numerical error of computer current state and crash state within N% be M or more simultaneously And the non-response time be greater than T when, be judged as crash.
6. a kind of computer corruption state according to claim 1 is restarted automatically method, which is characterized in that data are protected in S3 Bag deposit includes reading and saves the following contents:
Data cached, internal storage data, current executive process, cpu busy percentage, CPU speed, cpu process number, CPU line number of passes, CPU Handle count, uptime, CPU reference speed, CPU core number, logic processor number, virtualization state, caching, memory are big Small, memory available size, memory usage amount, memory usage, memory speed, memory standards, disk activity time, disk are average Response time, disk reading speed, disk writing speed, disk size, Ethernet connection state, Ethernet network speed, bluetooth connect Connect situation, Bluetooth transmission speed, bluetooth signal intensity, WiFi connection state, WiFi transmission speed, WiFi signal intensity, network Safe condition.
7. a kind of computer corruption state according to claim 1 is restarted automatically method, which is characterized in that data are protected in S3 It saves as and first the data of record is kept in, temporary data are stored in the memory of control module local, later to temporary Data carry out the upload of batch, and the data of upload are stored in network data base, and system server is to data in network data base It is transferred, and the computer data under crash state is counted, thus analytical calculation machine crash reason and to calculating The referential data of machine crash state is calculated and is updated, referential data update after by network transmission to control module, so as to Crash state is judged according to new referential data in control module.
8. a kind of computer corruption state according to claim 1 is restarted automatically method, which is characterized in that computer in S4 After the completion of restarting, computer data content before control module returns to the crash saved to computer.
9. a kind of computer corruption state according to claim 1 is restarted automatically method, which is characterized in that S5 signal weight Even, control module diagnoses computer operating condition.
10. a kind of computer corruption state according to claim 1 is restarted automatically method, which is characterized in that S5 signal weight Lian Hou, user can be by network login systems, the reason of status values and the system before computer corruption of inquiring provide point Analysis.
CN201811565649.2A 2018-12-20 2018-12-20 A kind of computer corruption state is restarted automatically method Pending CN109684133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811565649.2A CN109684133A (en) 2018-12-20 2018-12-20 A kind of computer corruption state is restarted automatically method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811565649.2A CN109684133A (en) 2018-12-20 2018-12-20 A kind of computer corruption state is restarted automatically method

Publications (1)

Publication Number Publication Date
CN109684133A true CN109684133A (en) 2019-04-26

Family

ID=66188231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811565649.2A Pending CN109684133A (en) 2018-12-20 2018-12-20 A kind of computer corruption state is restarted automatically method

Country Status (1)

Country Link
CN (1) CN109684133A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667588A (en) * 2019-10-16 2021-04-16 青岛海信移动通信技术股份有限公司 Intelligent terminal device and method for writing file system data
CN113886113A (en) * 2020-07-02 2022-01-04 北京神州数码云科信息技术有限公司 Method for automatically restarting and recovering equipment failure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6279120B1 (en) * 1997-07-25 2001-08-21 Siemens Aktiengesellschaft Method for storing computer status data given a malfunction that requires a subsequent restarting of the computer
US20150178097A1 (en) * 2013-12-20 2015-06-25 Microsoft Corporation Memory-Preserving Reboot
CN104794016A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal crash testing and processing method and system
CN107273237A (en) * 2017-06-22 2017-10-20 苏州市东皓计算机系统工程有限公司 A kind of automatic method for restarting of computer corruption state
CN107896176A (en) * 2017-12-05 2018-04-10 深圳市共济科技股份有限公司 A kind of processing method of calculate node, intelligent terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6279120B1 (en) * 1997-07-25 2001-08-21 Siemens Aktiengesellschaft Method for storing computer status data given a malfunction that requires a subsequent restarting of the computer
US20150178097A1 (en) * 2013-12-20 2015-06-25 Microsoft Corporation Memory-Preserving Reboot
CN104794016A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal crash testing and processing method and system
CN107273237A (en) * 2017-06-22 2017-10-20 苏州市东皓计算机系统工程有限公司 A kind of automatic method for restarting of computer corruption state
CN107896176A (en) * 2017-12-05 2018-04-10 深圳市共济科技股份有限公司 A kind of processing method of calculate node, intelligent terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667588A (en) * 2019-10-16 2021-04-16 青岛海信移动通信技术股份有限公司 Intelligent terminal device and method for writing file system data
CN113886113A (en) * 2020-07-02 2022-01-04 北京神州数码云科信息技术有限公司 Method for automatically restarting and recovering equipment failure

Similar Documents

Publication Publication Date Title
CN102761439B (en) Device and method for detecting and recording abnormity on basis of watchdog in PON (Passive Optical Network) access system
US6944796B2 (en) Method and system to implement a system event log for system manageability
CN101800675B (en) Failure monitoring method, monitoring equipment and communication system
CN103034802B (en) A kind of automatic tour inspection system based on intelligent rules coupling and method
EP3594766B1 (en) Data collection system and data collection method
JP2017507432A (en) Measuring system having a plurality of sensors
CN109684133A (en) A kind of computer corruption state is restarted automatically method
CN113485281B (en) Method and system for generating measuring point alarm and reset information in background of distributed control system
WO2018233170A1 (en) Method, device, computer device, and storage medium for recording a log
CN114154035A (en) Data processing system for dynamic loop monitoring
CN112882901A (en) Intelligent health state monitor of distributed processing system
CN115883340A (en) Dual-mode communication fault processing method and device based on HPLC (high Performance liquid chromatography) and HRF (high resolution factor)
CN103778024A (en) Server system and message processing method thereof
CN108899059B (en) Detection method and equipment for solid state disk
CN202713533U (en) TV diagnosis and maintenance system and TV
CN102810072B (en) Computer system and restarting method thereof
CN110609762B (en) Method and device for preventing advanced high performance bus (AHB) from deadlock
CN111274101A (en) Fault information feedback system of micro server of electronic computer
CN104158843A (en) Storage unit invalidation detecting method and device for distributed file storage system
CN101369238A (en) Exception monitoring and reset processing method for USB equipment
CN105224426A (en) Physical host fault detection method, device and empty machine management method, system
CN213122961U (en) Industrial control system and electronic equipment
CN116620245A (en) Cloud fault recording method, device, equipment and medium for electronic brake system
CN114244685A (en) Cloud service center access exception handling system
CN211653639U (en) Computer fault alarm system

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190426