CN106293984A - A kind of computer glitch automatically processes mode and device - Google Patents
A kind of computer glitch automatically processes mode and device Download PDFInfo
- Publication number
- CN106293984A CN106293984A CN201610659433.7A CN201610659433A CN106293984A CN 106293984 A CN106293984 A CN 106293984A CN 201610659433 A CN201610659433 A CN 201610659433A CN 106293984 A CN106293984 A CN 106293984A
- Authority
- CN
- China
- Prior art keywords
- fault
- computer
- mapped file
- memory mapped
- automatic processing
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0787—Storage of error reports, e.g. persistent data storage, storage using memory protection
Abstract
This application discloses a kind of computer glitch automatic processing method, including: generate memory mapped file according to configuration information of computer;Read described memory mapped file, and it is carried out accident analysis, collect fault message;The described fault message collected is classified, determines fault type;The troubleshooting mode corresponding with described fault type is selected to carry out troubleshooting according to described fault type.In computer running, memory mapped file is generated by the way of configuring memory mapping generation, and memory mapped file is carried out accident analysis, collect fault message, after restarting the computer, the fault collected is analyzed, and fixes a breakdown in time, significantly improve the maintenance efficiency of computer, it is ensured that the operation that system is more reliable and more stable.Disclosed herein as well is a kind of computer glitch automatic processing device.
Description
Technical field
The present invention relates to field of computer technology, more particularly, it relates to a kind of computer glitch automatic processing method, also
Relate to a kind of computer glitch automatic processing device.
Background technology
Along with developing rapidly of computer technology and integrated circuit technique, the hardware configuration of computer have also been obtained the biggest
Lifting, the fault of computer is consequently increased, and how could quickly obtain fault message, and location location of fault also solves
Fault, is to ensure that the primary condition of continuous service stablized by computer.If computer restarts after breaking down, but do not have
Have and get relevant fault message, cause the fault in computer to yet suffer from, and, usual this kind of fault is difficult to reproduction,
Cannot be saved by fault message and carry out troubleshooting, ultimately resulting in computer system can not stable operation.
The most how to obtain fault message and to fix a breakdown in time be that those skilled in the art are badly in need of technology to be solved and are asked
Topic.
Summary of the invention
For solving above-mentioned technical problem, the present invention provides a kind of computer glitch automatic processing method, obtains fault message
And fix a breakdown in time.
For achieving the above object, the present invention provides following technical scheme:
A kind of computer glitch automatic processing method, including:
Memory mapped file is generated according to configuration information of computer;
Read described memory mapped file, and it is carried out accident analysis, collect fault message;
The described fault message collected is classified, determines fault type;
The troubleshooting mode corresponding with described fault type is selected to carry out troubleshooting according to described fault type.
Preferably, in above computer fault automatic processing method, described in collect described fault message after also wrap
Include:
Resolve the abort situation in described fault message and failure cause, and export described abort situation and described event
Barrier reason.
Preferably, in above computer fault automatic processing method, described according to allocation of computer generation memory mapping
After file, also include:
Described memory mapped file is stored in local disk or far-end disk.
The present invention also provides for a kind of computer glitch automatic processing device, including:
Memory mapping configuration module, for generating memory mapped file according to configuration information of computer;
Memory mapping analyzes module, is used for reading described memory mapped file, and it is carried out accident analysis, collect fault
Information;
Fault processing module, for classifying the described fault message collected, determines fault type, according to described
Fault type selects the troubleshooting mode corresponding with described fault type to carry out troubleshooting.
Preferably, in above computer fault automatic processing device, also include:
Fault output module, for resolving the abort situation in described fault message and failure cause, and exports described
Abort situation and described failure cause.
Preferably, in above computer fault automatic processing device, also include:
Memory mapping memory module, for being stored in described memory mapped file in local disk or far-end disk.
From technique scheme it can be seen that a kind of computer glitch automatic processing method provided by the present invention, including:
Memory mapped file is generated according to configuration information of computer;Read described memory mapped file, and it carried out accident analysis,
Collect fault message;The described fault message collected is classified, determines fault type;Select according to described fault type
The troubleshooting mode corresponding with described fault type carries out troubleshooting.In computer running, by configuring internal memory
The mode that reflection generates generates memory mapped file, and memory mapped file carries out accident analysis, collects fault message, works as meter
After calculation machine restarts, the fault collected is analyzed, and fixes a breakdown in time, hence it is evident that improve the maintenance of computer
Efficiency, it is ensured that the operation that system is more reliable and more stable, compensate for owing to machine panic causes system reboot, causing trouble information
Lose, so that system is in the deficiency in potential danger, it is simple to the maintenance of machine and fault management.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to
The accompanying drawing provided obtains other accompanying drawing.
A kind of computer glitch automatic processing method schematic diagram that Fig. 1 provides for the embodiment of the present invention;
A kind of computer glitch automatic processing device schematic diagram that Fig. 2 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Refer to a kind of computer glitch automatic processing method schematic diagram that Fig. 1, Fig. 1 provide for the embodiment of the present invention.
In a kind of detailed description of the invention, it is provided that a kind of computer glitch automatic processing method, including:
Step S1: generate memory mapped file according to configuration information of computer;
Wherein, configuration information of computer refers to enable core dump function, configuration memory mapping dump path, dump
The configuration information that memory content is relevant, memory content includes that not dump such as caches the content such as the page, page of data.Memory mapping literary composition
Part refers to the data that are saved in calculator memory (needed for comprising the stack information of all programs, data message and operation program
The various data wanted), copy to local disk, thus produce data file the same with in internal memory.I.e. in internal memory
Related data to have copied to the file on disk be memory mapped file.
Step S2: read described memory mapped file, and it is carried out accident analysis, collect fault message;
Concrete, fault message includes software fault information, such as stack information, procedure call information etc..Faulty hardware
Information, such as register information, the error coded etc. of faulty hardware of faulty hardware.Collect fault message and preserve into specific lattice
Formula is transmitted.
Step S3: the described fault message collected is classified, determines fault type;
Carrying out classification process according to the fault message received, fault type has a variety of, software fault type: due to soft
The serious BUG of part, causes machine to be delayed the fault of machine, kernel program null pointer fault, driver BUG, kernel module BUG etc.
Machine can be caused a bit to delay the BUG of machine.Hardware fault type: cpu fault, memory failure, I/O fault, PCIE fault, bus event
Barrier, caches fault, TLB fault, fan failure, power failure etc..
Step S4: select the troubleshooting mode corresponding with described fault type to carry out at fault according to described fault type
Reason.
Different types of fault uses different treatment mechanisms, such as fault repair process mechanism, equipment blocking treatment mechanism
Deng, according to the rule inside rule base, different faults is done corresponding process.Such as, when there is software fault, generation is worked as
During hardware fault, report all location of faults and failure cause, and automatically do some and automatically repair, repair such as fault CPU or
Person's off-line failure memory is repaired or off-line, and fault I/O is repaired, PCIE fault restoration, bus failure reparation, and caching fault is repaiied
Multiple, TLB fault restoration, fan failure reparation, power failure reparation.
On the basis of above computer fault automatic processing method, described in collect described fault message after also wrap
Include: resolve the abort situation in described fault message and failure cause, and export described abort situation and described fault is former
Cause.
First the accurate location of report program BUG, informs that relevant director repairs BUG.By fault message to send mailbox
Mode export, or by fault message send show to display device, management personnel receive mail or
See the fault message in display device, according to abort situation, fault is accurately positioned, according to failure cause, fault is entered
Row is got rid of in time, it is ensured that fault is processed in time.
Further, in above computer fault automatic processing method, described according to allocation of computer generate internal memory reflect
As, after file, also including: described memory mapped file is stored in local disk or far-end disk.
Guarantee that currently used computer and (SuSE) Linux OS support that kdump, kdump are that on linux system, preservation is interior
Deposit a kind of method of image file when computer produce catastrophe failure cause system to run quickly routed time, kdump will be according to configuration information
Preserve memory mapped file relevant to fault in internal memory, whole memory mapped file is saved in local disk or passes through net
Network is saved in above far-end disk, ensures that local disk or far-end disk have enough capacity to preserve image file simultaneously.
Refer to a kind of computer glitch automatic processing device schematic diagram that Fig. 2, Fig. 2 provide for the embodiment of the present invention.
The present invention also provides for a kind of computer glitch automatic processing device, including:
Memory mapping configuration module 01, for generating memory mapped file according to configuration information of computer;
Memory mapping analyzes module 02, is used for reading described memory mapped file, and it is carried out accident analysis, collect event
Barrier information;
Fault processing module 03, for classifying the described fault message collected, determines fault type, according to institute
Stating fault type selects the troubleshooting mode corresponding with described fault type to carry out troubleshooting.
Further, in above computer fault automatic processing device, also include:
Fault output module 04, for resolving the abort situation in described fault message and failure cause, and exports institute
State abort situation and described failure cause.
Further, in above computer fault automatic processing device, also include:
Memory mapping memory module 05, for being stored in described memory mapped file in local disk or far-end disk.
When computer generation catastrophe failure causes system panic, kdump will be according to current memory reflection configuration module
01 generates memory mapped file according to configuration information of computer is saved in local disk by image file, needs to ensure this earth magnetism
Dish has enough capacity to preserve image file, and memory mapped file is once successfully generated, and is stored by described memory mapped file
In local disk or far-end disk, memory mapping analyzes module 02 will analyze this document automatically, without manual operation, interior
Deposit image analysis module 02 and analysis result is sent automatically to fault processing module 03 and fault output module 04, then at fault
Different faults, according to the rule inside rule base, is done corresponding process by reason module 03, and fault output module 04 is then by fault
Information exports automatically, it is ensured that fault is processed in time.
In this specification, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is and other
The difference of embodiment, between each embodiment, identical similar portion sees mutually.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple amendment to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can realize without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein and features of novelty phase one
The widest scope caused.
Claims (6)
1. a computer glitch automatic processing method, it is characterised in that including:
Memory mapped file is generated according to configuration information of computer;
Read described memory mapped file, and it is carried out accident analysis, collect fault message;
The described fault message collected is classified, determines fault type;
The troubleshooting mode corresponding with described fault type is selected to carry out troubleshooting according to described fault type.
2. computer glitch automatic processing method as claimed in claim 1, it is characterised in that described in collect described fault letter
Also include after breath:
Resolve the abort situation in described fault message and failure cause, and export described abort situation and described fault is former
Cause.
3. computer glitch automatic processing method as claimed in claim 2, it is characterised in that described raw according to allocation of computer
After becoming memory mapped file, also include:
Described memory mapped file is stored in local disk or far-end disk.
4. a computer glitch automatic processing device, it is characterised in that including:
Memory mapping configuration module, for generating memory mapped file according to configuration information of computer;
Memory mapping analyzes module, is used for reading described memory mapped file, and it is carried out accident analysis, collects fault letter
Breath;
Fault processing module, for classifying the described fault message collected, determines fault type, according to described fault
The type selecting troubleshooting mode corresponding with described fault type carries out troubleshooting.
5. computer glitch automatic processing device as claimed in claim 4, it is characterised in that also include:
Fault output module, for resolving the abort situation in described fault message and failure cause, and exports described fault
Position and described failure cause.
6. computer glitch automatic processing device as claimed in claim 5, it is characterised in that also include:
Memory mapping memory module, for being stored in described memory mapped file in local disk or far-end disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610659433.7A CN106293984A (en) | 2016-08-11 | 2016-08-11 | A kind of computer glitch automatically processes mode and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610659433.7A CN106293984A (en) | 2016-08-11 | 2016-08-11 | A kind of computer glitch automatically processes mode and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106293984A true CN106293984A (en) | 2017-01-04 |
Family
ID=57670108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610659433.7A Pending CN106293984A (en) | 2016-08-11 | 2016-08-11 | A kind of computer glitch automatically processes mode and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106293984A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791823A (en) * | 2017-02-07 | 2017-05-31 | 浙江大华技术股份有限公司 | A kind of equipment zero code stream fault handling method, device and electronic equipment |
CN108052438A (en) * | 2017-12-29 | 2018-05-18 | 北京悦畅科技有限公司 | A kind of intelligent Problems analysis method and server applied with parking system |
CN108108259A (en) * | 2018-01-11 | 2018-06-01 | 郑州云海信息技术有限公司 | A kind of kernel Fault Locating Method and device |
CN108153618A (en) * | 2017-12-22 | 2018-06-12 | 国网浙江杭州市萧山区供电有限公司 | Hard disk data recovery, device and hard disc data restorer |
CN109062627A (en) * | 2018-07-12 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of configuration method of Linux server system kdump service |
CN113342609A (en) * | 2021-06-10 | 2021-09-03 | 重庆科创职业学院 | Computer obstacle removing system |
WO2022028209A1 (en) * | 2020-08-05 | 2022-02-10 | 华为技术有限公司 | Memory failure processing method and apparatus |
CN114508501A (en) * | 2022-03-09 | 2022-05-17 | 深圳市优优绿能电气有限公司 | Fan fault repairing method and system |
CN115686901A (en) * | 2022-10-25 | 2023-02-03 | 超聚变数字技术有限公司 | Memory fault analysis method and computer equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6385665B1 (en) * | 1998-12-18 | 2002-05-07 | Alcatel Usa Sourcing, L.P. | System and method for managing faults in a data transmission system |
CN101296135A (en) * | 2008-06-27 | 2008-10-29 | 中兴通讯股份有限公司 | Fault information processing method and device |
CN101556679A (en) * | 2009-05-21 | 2009-10-14 | 中国建设银行股份有限公司 | Method for processing failures in integrated front-end system and computer equipment |
-
2016
- 2016-08-11 CN CN201610659433.7A patent/CN106293984A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6385665B1 (en) * | 1998-12-18 | 2002-05-07 | Alcatel Usa Sourcing, L.P. | System and method for managing faults in a data transmission system |
CN101296135A (en) * | 2008-06-27 | 2008-10-29 | 中兴通讯股份有限公司 | Fault information processing method and device |
CN101556679A (en) * | 2009-05-21 | 2009-10-14 | 中国建设银行股份有限公司 | Method for processing failures in integrated front-end system and computer equipment |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791823B (en) * | 2017-02-07 | 2018-09-28 | 浙江大华技术股份有限公司 | A kind of equipment zero code stream fault handling method, device and electronic equipment |
CN106791823A (en) * | 2017-02-07 | 2017-05-31 | 浙江大华技术股份有限公司 | A kind of equipment zero code stream fault handling method, device and electronic equipment |
CN108153618A (en) * | 2017-12-22 | 2018-06-12 | 国网浙江杭州市萧山区供电有限公司 | Hard disk data recovery, device and hard disc data restorer |
CN108153618B (en) * | 2017-12-22 | 2021-12-03 | 国网浙江杭州市萧山区供电有限公司 | Hard disk data recovery method and device and hard disk data recovery equipment |
CN108052438A (en) * | 2017-12-29 | 2018-05-18 | 北京悦畅科技有限公司 | A kind of intelligent Problems analysis method and server applied with parking system |
CN108108259A (en) * | 2018-01-11 | 2018-06-01 | 郑州云海信息技术有限公司 | A kind of kernel Fault Locating Method and device |
CN109062627A (en) * | 2018-07-12 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of configuration method of Linux server system kdump service |
WO2022028209A1 (en) * | 2020-08-05 | 2022-02-10 | 华为技术有限公司 | Memory failure processing method and apparatus |
CN113342609A (en) * | 2021-06-10 | 2021-09-03 | 重庆科创职业学院 | Computer obstacle removing system |
CN114508501A (en) * | 2022-03-09 | 2022-05-17 | 深圳市优优绿能电气有限公司 | Fan fault repairing method and system |
CN114508501B (en) * | 2022-03-09 | 2022-09-09 | 深圳市优优绿能股份有限公司 | Fan fault repairing method and system |
CN115686901A (en) * | 2022-10-25 | 2023-02-03 | 超聚变数字技术有限公司 | Memory fault analysis method and computer equipment |
CN115686901B (en) * | 2022-10-25 | 2023-08-04 | 超聚变数字技术有限公司 | Memory fault analysis method and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106293984A (en) | A kind of computer glitch automatically processes mode and device | |
CN108418711B (en) | Storage medium for fault management | |
US7203881B1 (en) | System and method for simulating system operation | |
US9396057B2 (en) | Enhanced dump data collection from hardware fail modes | |
US8627143B2 (en) | Dynamically modeling and selecting a checkpoint scheme based upon an application workload | |
US9612936B2 (en) | Correlation of source code with system dump information | |
US9442791B2 (en) | Building an intelligent, scalable system dump facility | |
US20100306489A1 (en) | Error management firewall in a multiprocessor computer | |
CN104572517A (en) | Method providing required data, controller and computer system | |
CN106463179A (en) | Method, apparatus and system for handling data error events with memory controller | |
US20140115382A1 (en) | Scheduling Workloads Based on Detected Hardware Errors | |
CN109491819A (en) | A kind of method and system of diagnosis server failure | |
WO2019047072A1 (en) | Database detection method and terminal | |
CN104462612A (en) | Method and device for monitoring database information | |
CN112506710B (en) | Distributed file system data restoration method, device, equipment and storage medium | |
CN105354102B (en) | A kind of method and apparatus of file system maintenance and reparation | |
CN108710545B (en) | Remote monitoring fault self-healing system | |
CN110291505A (en) | Reduce the recovery time of application | |
CN106899436A (en) | A kind of cloud platform failure predication diagnostic system | |
CN103297264A (en) | Cloud platform failure recovery method and system | |
US10191112B2 (en) | Early development of a database of fail signatures for systematic defects in integrated circuit (IC) chips | |
CN111191861B (en) | Machine number determination method and device, processing line, storage medium and electronic equipment | |
CN110502496A (en) | A kind of distributed file system restorative procedure, system, terminal and storage medium | |
CN104407806A (en) | Method and device for revising hard disk information of redundant array group of independent disk (RAID) | |
CN114694869A (en) | Nuclear power station instrument control system transformation risk control method, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |
|
RJ01 | Rejection of invention patent application after publication |