CN109117298A - A kind of hardware fault restorative procedure, device and equipment - Google Patents
A kind of hardware fault restorative procedure, device and equipment Download PDFInfo
- Publication number
- CN109117298A CN109117298A CN201811020516.7A CN201811020516A CN109117298A CN 109117298 A CN109117298 A CN 109117298A CN 201811020516 A CN201811020516 A CN 201811020516A CN 109117298 A CN109117298 A CN 109117298A
- Authority
- CN
- China
- Prior art keywords
- fault
- processed
- database
- hardware
- failure
- 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
- 238000000034 method Methods 0.000 title claims abstract description 155
- 238000001514 detection method Methods 0.000 claims abstract description 34
- 238000003672 processing method Methods 0.000 claims abstract description 22
- 230000008439 repair process Effects 0.000 claims description 18
- 238000013024 troubleshooting Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 8
- 230000004888 barrier function Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000007726 management method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000002955 isolation Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000011248 coating agent Substances 0.000 description 1
- 238000000576 coating method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
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/0793—Remedial or corrective actions
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of hardware fault restorative procedure, device and equipment, are related to field of computer technology, comprising: obtain the fault message to be processed of target hardware;Whether detection includes historical failure information corresponding with the fault message to be processed by collecting in the obtained preset failure database of historical failure information in advance;If it is, detection comprising have in the preset rules database of the fault message of processing method and corresponding fault handling method in the historical failure information that is collected into advance whether include and the matched fault handling method of fault message to be processed;If it is, being repaired using with the matched fault handling method of fault message to be processed to hardware fault.From the above, it can be seen that, the present invention in preset rules database using prestoring with the matched fault handling method of fault message to be processed, realize reparation to failure, avoid because constantly collecting hardware fault but when without handling caused by delay machine, further ensure the safety of data.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of hardware fault restorative procedure, device and equipment.
Background technique
In the prior art, it can detect and report that host is hard using MCE (machine check exception) framework
The error mechanism of part, such as system bus mistake, ECC error, parity error, cache misses, TLB mistake.But this machine
System is all that fault information reporting is not done repair process to failure, and technical staff is needed periodically to check that log carrys out handling failure
Problem.When technical staff is not in time handled failure, failure problems are excessive, and accumulation to a certain extent, is easy to produce
Delay machine is lost so as to cause service disconnection and critical data.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of hardware fault restorative procedure, device and equipment, it can be to event
Barrier is handled, and the delay machine risk as caused by failure accumulation is reduced.Its concrete scheme is as follows:
In a first aspect, the invention discloses a kind of hardware fault restorative procedures, comprising:
Obtain the fault message to be processed of target hardware;
It whether detects in preset failure database comprising historical failure information corresponding with the fault message to be processed;Its
In, the preset failure database is the database obtained by collecting historical failure information in advance;
If it is, detection preset rules database in whether comprising at the matched failure of fault message to be processed
Reason method;Wherein, the preset rules database is comprising having processing method in the historical failure information being collected into advance
The database of fault message and corresponding fault handling method;
If it is, being repaired using with the matched fault handling method of fault message to be processed to hardware fault
It is multiple.
Optionally, whether gone through comprising corresponding with the fault message to be processed in the detection preset failure database
After history fault message, further includes:
If it is not, then the fault message to be processed is added to the preset failure database.
Optionally, in the detection preset rules database whether include and the fault message to be processed it is matched therefore
After barrier processing method, further includes:
If it is not, then issuing alarm prompt, operated with prompting user to carry out artificial repair.
Optionally, further includes:
The corresponding fault message to be processed will be operated with the artificial reparation and corresponding fault handling method adds
To in the preset rules database.
Optionally, hardware fault is carried out using with the matched fault handling method of fault message to be processed described
Before reparation, further includes:
Whether judgement and the matched fault handling method of fault message to be processed are one or more.
Optionally, described that hardware fault is repaired using with the matched fault handling method of fault message to be processed
It is multiple, comprising:
If the fault handling method is one, directly utilize and the matched troubleshooting of fault message to be processed
Method repairs hardware fault;
If the fault handling method be it is a plurality of, according to preset rules will it is matched with the fault message to be processed therefore
Hinder processing method and carry out priority ranking, and successively hardware fault is repaired according to ranking results.
Optionally, further includes:
Collect the historical failure information in server;
Utilize preset failure database described in the historical failure information creating;
Collect the corresponding fault handling method of the historical failure information;
It is created using the fault message and corresponding hardware processing method that have processing method in the historical failure information
Preset rules database.
It is optionally, described to utilize preset failure database described in the historical failure information creating, comprising:
All historical failure information are ranked up according to the sequence of the frequency of occurrences from big to small, creation obtains described
Preset failure database;
Correspondingly, whether including history corresponding with the fault message to be processed in the detection preset failure database
Fault message, comprising:
According to the information arrangement sequence in the preset failure database, successively detects and whether wrapped in preset failure database
Containing historical failure information corresponding with the fault message to be processed.
Optionally, further includes:
Information in the preset failure database and the preset rules database is carried out to summarize arrangement, and will be described
Information is visualized.
Second aspect, the invention discloses a kind of hardware fault prosthetic devices, comprising:
Failure obtains module, for obtaining the fault message to be processed of target hardware;
Fault detection module, for whether detecting in preset failure database comprising corresponding with the fault message to be processed
Historical failure information;Wherein, the preset failure database is the database obtained by collecting historical failure information in advance;
Method detection module, for including history corresponding with the fault message to be processed in the preset failure database
Fault message, then detect in preset rules database whether include and the matched troubleshooting side of fault message to be processed
Method;Wherein, the preset rules database be include the failure for having processing method in the historical failure information that is collected into advance
The database of information and corresponding fault handling method;
Fault restoration module, in preset rules database whether at the matched failure of fault message to be processed
Reason method then repairs hardware fault using with the matched fault handling method of fault message to be processed.
The third aspect, the invention discloses a kind of hardware fault prosthetic appliances, comprising:
Memory, for storing computer program;
Processor, the step of aforementioned disclosed hardware fault restorative procedure is realized when for executing the computer program.
As it can be seen that be processed fault message of the present invention by acquisition target hardware, detection by collecting historical failure in advance
Whether include historical failure information corresponding with the fault message to be processed in the preset failure database that information obtains;If
It is that then detection includes the fault message for having processing method in the historical failure information being collected into advance and corresponding troubleshooting
In the preset rules database of method whether include and the matched fault handling method of fault message to be processed;If so,
Then hardware fault is repaired using with the matched fault handling method of fault message to be processed.From the foregoing, it will be observed that this hair
It is bright using being prestored in preset rules database with the matched fault handling method of fault message to be processed, may be implemented pair
The reparation of hardware fault, avoid in the prior art constantly collect accumulation hardware fault but without processing when caused by delay machine,
Service disconnection is further avoided, the risk for causing critical data to be lost due to service disconnection is reduced, to ensure that data
Safety.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of specific embodiment of hardware fault restorative procedure provided by the present invention;
Fig. 2 is a kind of flow chart of specific embodiment of hardware fault restorative procedure provided by the present invention;
Fig. 3 is that preset failure number is created in a kind of specific embodiment of hardware fault restorative procedure provided by the present invention
According to library and the corresponding flow chart of preset rules database;
Fig. 4 is the hardware fault management in a kind of specific embodiment of hardware fault restorative procedure provided by the present invention
Structure chart;
Fig. 5 is the structural block diagram of hardware fault prosthetic device provided by the present invention;
Fig. 6 is the hardware structural diagram of hardware fault prosthetic appliance provided by the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In the prior art, often by hardware fault information reporting, but repair process is not done to failure, needs technical staff
Periodically check that log carrys out handling failure problem.When technical staff is not in time handled failure, failure problems are excessive, product
It is tired to be easy to produce delay machine to a certain extent, it is lost so as to cause service disconnection and critical data.In consideration of it, the present invention passes through in advance
If the reparation with the matched fault handling method realization of fault message to be processed to hardware fault prestored in rule database, drop
Low delay machine risk, further avoids service disconnection, ensure that the safety of data.
It is shown in Figure 1 the embodiment of the invention discloses a kind of hardware fault restorative procedure, this method comprises:
Step S11: the fault message to be processed of target hardware is obtained;
In the present embodiment, the fault message to be processed for obtaining target hardware, specifically: detection preset failure directorial area
Domain obtains the fault message to be processed of target hardware.Wherein, the fault message to be processed includes but is not limited to cpu fault letter
Breath, memory failure information, disk failure information, net card failure information.The present embodiment can use default detection cycle and periodically examine
Survey preset failure management region, the default detection cycle can in a manner of setting manually in advance or in the way of default into
Row setting, to guarantee not accumulating the excessive fault message to be processed, the default detection cycle be should not be too large.For example, can
The default detection cycle is set as 3 days, then preset failure management region is detected every 3 days, failure to be processed is obtained
Information.
Step S12: in detection preset failure database whether comprising history corresponding with the fault message to be processed therefore
Hinder information;Wherein, the preset failure database is the database obtained by collecting historical failure information in advance;
It should be noted that the present embodiment first passes through the historical failure information collected in server in advance obtains preset failure number
According to library, after getting the fault message to be processed of target software, by the fault message to be processed and the preset failure number
It compares, is detected whether comprising historical failure information corresponding with the fault message to be processed according to library.
Step S13: if it is, whether comprising being matched with the fault message to be processed in detection preset rules database
Fault handling method;Wherein, the preset rules database is comprising having place in the historical failure information being collected into advance
The database of the fault message of reason method and corresponding fault handling method;
It should be noted that the present embodiment passes through the failure for having processing method in the historical failure information being collected into advance
Information and corresponding fault handling method obtain preset rules database.Specifically, if wrapped in the preset failure database
Containing historical failure information corresponding with the fault message to be processed, then further in detection preset rules database whether include
With the matched fault handling method of fault message to be processed.
In addition, if not including historical failure corresponding with the fault message to be processed in the preset failure database
The fault message to be processed is then added to the preset failure database by information, with to the preset failure database into
Row updates.
Step S14: if it is, using with the matched fault handling method of fault message to be processed to hardware fault
It is repaired.
Specifically, if including and the matched troubleshooting of fault message to be processed in the preset rules database
Method then repairs hardware fault using the fault handling method, and realization is automatically repaired failure.If described pre-
If in rule database do not include with the matched fault handling method of fault message to be processed, then issue alarm prompt letter
Breath is operated with prompting user to carry out artificial repair, and the alarm prompt can be carried out in a manner of specifically screen being used to show
It reminds, for example, the alarm prompt of display " Current hardware failure can not be automatically repaired, it is proposed that carry out artificial reparation operation ".
Further, it can not be automatically repaired using the fault handling method prestored in preset rules database wait locate above-mentioned
Failure is managed, it, will the failure to be processed corresponding with the artificial reparation operation after being repaired by manual intervention operation
Information and corresponding fault handling method are added in preset rules database, realize update and expansion to preset rules database
It fills.
As it can be seen that be processed fault message of the present invention by acquisition target hardware, detection by collecting historical failure in advance
Whether include historical failure information corresponding with the fault message to be processed in the preset failure database that information obtains;If
It is that then detection includes the fault message for having processing method in the historical failure information being collected into advance and corresponding troubleshooting
In the preset rules database of method whether include and the matched fault handling method of fault message to be processed;If so,
Then hardware fault is repaired using with the matched fault handling method of fault message to be processed.From the foregoing, it will be observed that this hair
It is bright using being prestored in preset rules database with the matched fault handling method of fault message to be processed, may be implemented pair
The reparation of hardware fault, avoid in the prior art constantly collect hardware fault but without processing when caused by delay machine, into one
Step avoids service disconnection, the risk for causing critical data to be lost due to service disconnection is reduced, to ensure that the safety of data.
The embodiment of the invention discloses a kind of specific hardware fault restorative procedures, relative to a upper embodiment, this implementation
Example has made further instruction and optimization to technical solution.Specifically, as shown in Fig. 2, the process includes:
Step S21: the fault message to be processed of target hardware is obtained;
Step S22: in detection preset failure database whether comprising history corresponding with the fault message to be processed therefore
Hinder information;Wherein, the preset failure database is the database obtained by collecting historical failure information in advance;
Step S23: if it is, whether comprising being matched with the fault message to be processed in detection preset rules database
Fault handling method;Wherein, the preset rules database is comprising having place in the historical failure information being collected into advance
The database of the fault message of reason method and corresponding fault handling method;
Particular content about above-mentioned steps S21 to S23 can refer to previous embodiment, no longer be repeated herein.
Step S24: if it is, whether judgement and the matched fault handling method of fault message to be processed are one
Or it is a plurality of;
In the present embodiment, include and the matched event of fault message to be processed if detected in preset rules database
Hinder processing method, then judges the fault handling method judge whether the fault handling method is one or more.
Step S25: if the fault handling method is one, directly using matched with the fault message to be processed
Fault handling method repairs hardware fault;
Specifically, if comprising at failure directly corresponding with the fault message to be processed in the preset rules database
Reason method, then by detection preset rules database in whether include and the matched troubleshooting side of fault message to be processed
Method, it is available to arrive and a fault message to be processed directly corresponding fault handling method;If the preset rules number
According to fault handling method directly corresponding with the fault message to be processed is not included in library, then pass through detection preset rules data
In library whether comprising with the matched fault handling method of fault message to be processed, it is available to it is all with it is described to be processed
Fault message is relevant, the matched a plurality of fault handling method in part.
Step S26: if the fault handling method be it is a plurality of, will be with the fault message to be processed according to preset rules
Matched fault handling method carries out priority ranking, and successively repairs to hardware fault according to ranking results.
It is understood that if getting one and the matched fault handling method of fault message to be processed, directly
It connects using the fault handling method, the reparation to hardware fault can be completed;If getting a plurality of and failure to be processed
The fault handling method of information matches can then be ranked up a plurality of fault handling method by preset rules, for example, can be with
By obtaining the frequency of occurrences of the corresponding historical failure information of all fault handling methods, according to descending suitable of frequency
Sequence is ranked up;Or, can by obtain the corresponding historical failure information of all fault handling methods with it is described to be processed
The degree of correlation of fault message is ranked up according to the descending sequence of degree of correlation.Further, according to ranking results according to
It is secondary that hardware fault is repaired, it is low preferential if first fault handling method completes the reparation to hardware fault after executing
The fault handling method of grade need not execute again.On the contrary, being continued to execute low if the reparation to hardware fault cannot be completed after executing
The fault handling method of priority.
Correspondingly, after completing to the reparation of hardware fault using above-mentioned a plurality of fault handling method, by above-mentioned reparation
It operates the corresponding fault message to be processed and corresponding fault handling method is added to the preset rules database, into one
Step improves the preset rules database.
In a kind of specific embodiment of hardware fault restorative procedure provided by the present invention, for the preset failure
The creation process of database and the preset rules database is further elaborated, as shown in figure 3, the process specifically includes:
Step S31: the historical failure information in server is collected;
Step S32: preset failure database described in the historical failure information creating is utilized;
In the present embodiment, the historical failure information in server is collected in advance, the historical failure information is stored to number
According to library, creation forms the preset failure database.Furthermore it is possible to be arranged according to the frequency of occurrences of the historical failure information
Sequence so that successively detected from top to bottom when getting new fault message to be processed in the preset failure database whether include
Historical failure information corresponding with the fault message to be processed.
Step S33: the corresponding fault handling method of the historical failure information is collected;
Step S34: the fault message and corresponding hardware handles for having processing method in the historical failure information are utilized
Method creates preset rules database.
In the present embodiment, by having the fault message and correspondence of processing method in the historical failure information that will collect in advance
Hardware processing method store to database, creation forms the preset rules database.Furthermore it is possible to by preset rules data
Information in library is ranked up, for example, can believe the failure in the preset rules database according to the urgency level of failure
Breath and corresponding hardware processing method are ranked up, so that successively detecting in preset rules database according to information arrangement sequence is
It is no comprising fault handling method matched with the fault message to be processed when, hardware fault in need of immediate treatment can be made faster
It is handled, raising efficiency.
Further, the information in the preset failure database and the preset rules database can be summarized
It arranges, the information is subjected to visualization display.
Fig. 4 is the hardware fault in a kind of specific embodiment of hardware fault restorative procedure provided in an embodiment of the present invention
Structure chart is managed, referring to fig. 4, the embodiment of the present invention is collected using the failure of kernel state and processing module, inspects periodically kernel
Defect management area is collected fault message to be processed and is summarized, and fault message to be processed can include but is not limited to: CPU
Fault message, memory failure information, disk failure information, net card failure information.It, then will be described to be processed when faulty generation
Fault message is committed to FMD (fault diagnosis engine) module of User space, the module extract the fault message to be processed it
Afterwards, whether include the to be processed fault message, if it is not, then storing the fault message to failure if detecting in Mishap Database
In database, data reserve is completed;If it is, further detected rule database, to be processed according to regular data storehouse matching
The fault handling method of failure, matched fault handling method if it exists, then at the failure that will acquire using FMD module
The failure tolerant module that reason method is transmitted in kernel goes to handle.For example, Memory Controller Hub reports memory failure, summarize failure
It after information module is collected into the fault message, is submitted in FMD module, the failure is diagnosed using FMD module, for example sentences
Whether the failure of breaking is memory corruption, and detect comprising memory corruption information in the fault message in Mishap Database, if not,
The fault message is stored to Mishap Database;If it is, detected rule database, if there is the failure in rule database
The fault handling method is then transmitted to failure tolerant processing module, and memory is done physics by corresponding fault handling method
Isolation, repairs hardware fault using the fault handling method.Isolation processes do not influence the operation of other business.Separately
Outside, the information in Mishap Database and rule database is summarized, and visualization display is carried out by web-based management module,
It is checked for user.
Hardware fault prosthetic device provided in an embodiment of the present invention is introduced below, hardware fault described below is repaired
Apparatus for coating can correspond to each other reference with above-described hardware fault restorative procedure.
Fig. 5 is the structural block diagram of hardware fault prosthetic device provided by the embodiment of the present invention, referring to Figure 5, hardware
Fault restoration device may include:
Failure obtains module 100, for obtaining the fault message to be processed of target hardware;
Fault detection module 200, for detect in preset failure database whether include and the fault message to be processed
Corresponding historical failure information;Wherein, the preset failure database is the number obtained by collecting historical failure information in advance
According to library;
Method detection module 300, for working as in preset failure database comprising corresponding with the fault message to be processed
Historical failure information, then detect in preset rules database whether include and the matched troubleshooting of fault message to be processed
Method;Wherein, the preset rules database be include have in the historical failure information that is collected into advance processing method therefore
Hinder the database of information and corresponding fault handling method;
Fault restoration module 400, for whether matched former with the fault message to be processed in preset rules database
Hinder processing method, then hardware fault is repaired using with the matched fault handling method of fault message to be processed.
The hardware fault prosthetic device of the present embodiment is for realizing hardware fault restorative procedure above-mentioned, therefore hardware fault
The embodiment part of the visible hardware fault restorative procedure hereinbefore of specific embodiment in prosthetic device, no longer carries out herein
It repeats.
Further, the embodiment of the invention also discloses a kind of hardware fault prosthetic appliance, the hardware fault prosthetic appliances
Including memory 11 and processor 12, wherein when the processor 12 executes the computer program saved in the memory 11
It performs the steps of
Obtain the fault message to be processed of target hardware;Detect preset failure database in whether comprising with it is described to be processed
The corresponding historical failure information of fault message;Wherein, the preset failure database is by collecting historical failure information in advance
Obtained database;If it is, whether comprising matched with the fault message to be processed in detection preset rules database
Fault handling method;Wherein, the preset rules database is comprising having processing in the historical failure information being collected into advance
The database of the fault message of method and corresponding fault handling method;If it is, using with the fault message to be processed
Matched fault handling method repairs hardware fault.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
If body performs the steps of and does not include historical failure corresponding with the fault message to be processed in preset failure database and believe
Breath, then be added to the preset failure database for the fault message to be processed.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
Do not include and the matched troubleshooting side of fault message to be processed if body performs the steps of in preset rules database
Method then issues alarm prompt, is operated with prompting user to carry out artificial repair.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
Body, which performs the steps of, to operate the corresponding fault message to be processed and corresponding troubleshooting side with the artificial reparation
Method is added in the preset rules database.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
Whether it is one or more that body performs the steps of judgement with the matched fault handling method of fault message to be processed.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
If it is one that body, which performs the steps of the fault handling method, directly using matched with the fault message to be processed
Fault handling method repairs hardware fault;If the fault handling method be it is a plurality of, will be with institute according to preset rules
It states the matched fault handling method of fault message to be processed and carries out priority ranking, and according to ranking results successively to hardware fault
It is repaired.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
Body performs the steps of the historical failure information collected in server;Utilize default event described in the historical failure information creating
Hinder database;Collect the corresponding fault handling method of the historical failure information;Using having place in the historical failure information
The fault message of reason method and corresponding hardware processing method create preset rules database.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
Body, which is performed the steps of, is ranked up all historical failure information according to the sequence of the frequency of occurrences from big to small, creation
Obtain the preset failure database;Correspondingly, in the detection preset failure database whether include and it is described it is to be processed therefore
Hinder the corresponding historical failure information of information, comprising: according to the information arrangement sequence in the preset failure database, successively detect
Whether include historical failure information corresponding with the fault message to be processed in preset failure database.
In the present embodiment, when the processor 12 executes the computer subprogram saved in the memory 11, can have
Body performs the steps of
Information in the preset failure database and the preset rules database is carried out to summarize arrangement, and will be described
Information is visualized.
Further, shown in Figure 6, the hardware fault prosthetic appliance in the present embodiment can also include:
Input interface 13, for obtaining the computer program of extraneous importing, and the computer program that will acquire save to
In the memory 12, it can be also used for the various instructions and parameter that obtain extraneous terminal device transmission, and be transmitted to processor
In 11, so that processor 11 is handled accordingly using above-mentioned various instructions and parametric evolving.In the present embodiment, the input interface
13, which can specifically include but be not limited to USB interface, serial line interface, speech input interface, fingerprint input interface, hard disk, reads interface
Deng.
Output interface 14, the various data for generating processor 11 are exported to coupled terminal device, so as to
The various data of the generation of processor 11 can be got in other terminal devices being connected with output interface 14.In the present embodiment,
The output interface 14 can specifically include but be not limited to USB interface, serial line interface etc..
Display unit 15, the data for sending over to processor 11 are shown.
Communication unit 16 is used to establish telecommunication connection between external server, obtains the number that extraneous terminal is sent
According to being then forwarded to processor 11 and carry out processing analysis, in addition, processor 11 can also lead to the various results obtained after processing
It crosses communication unit 16 and is sent to preset various data receivers.In the present embodiment, communication used by above-mentioned communication unit 16
Technology can be cable communicating technology or wireless communication technique, as universal serial bus (USB), adopting wireless fidelity technology (WiFi),
Bluetooth Communication Technology, low-power consumption bluetooth communication technology (BLE) etc..In addition, communication unit 16 specifically can be more according to wideband code division
Location (W-CDMA), long term evolution (LTE) and the cellular radio transceiver similar to standard operation.
Further, the embodiment of the invention also discloses a kind of computer readable storage mediums, for storing computer journey
Sequence, wherein the computer program realizes aforementioned disclosed hardware fault restorative procedure when being executed by processor, about this method
Specific steps can no longer be repeated herein with reference to corresponding contents disclosed in previous embodiment.
The present invention in preset rules database using prestoring with the matched troubleshooting side of fault message to be processed
The reparation to hardware fault may be implemented in method, avoids and constantly collects hardware fault in the prior art but without making when processing
At delay machine, further avoid service disconnection, the risk for causing critical data to be lost due to service disconnection reduced, to guarantee
The safety of data.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part
Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Detailed Jie has been carried out to hardware fault restorative procedure, device, equipment and storage medium provided by the present invention above
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (11)
1. a kind of hardware fault restorative procedure characterized by comprising
Obtain the fault message to be processed of target hardware;
It whether detects in preset failure database comprising historical failure information corresponding with the fault message to be processed;Wherein,
The preset failure database is the database obtained by collecting historical failure information in advance;
If it is, detection preset rules database in whether include and the matched troubleshooting side of fault message to be processed
Method;Wherein, the preset rules database be include the failure for having processing method in the historical failure information that is collected into advance
The database of information and corresponding fault handling method;
If it is, being repaired using with the matched fault handling method of fault message to be processed to hardware fault.
2. hardware fault restorative procedure according to claim 1, which is characterized in that in the detection preset failure database
In whether comprising historical failure information corresponding with the fault message to be processed after, further includes:
If it is not, then the fault message to be processed is added to the preset failure database.
3. hardware fault restorative procedure according to claim 1, which is characterized in that in the detection preset rules database
In whether comprising with after the matched fault handling method of fault message to be processed, further includes:
If it is not, then issuing alarm prompt, operated with prompting user to carry out artificial repair.
4. hardware fault restorative procedure according to claim 3, which is characterized in that further include:
The corresponding fault message to be processed will be operated with the artificial reparation and corresponding fault handling method is added to institute
It states in preset rules database.
5. hardware fault restorative procedure according to claim 1, which is characterized in that utilized and the event to be processed described
Before the fault handling method of barrier information matches repairs hardware fault, further includes:
Whether judgement and the matched fault handling method of fault message to be processed are one or more.
6. hardware fault restorative procedure according to claim 5, which is characterized in that described to utilize and the failure to be processed
The fault handling method of information matches repairs hardware fault, comprising:
If the fault handling method is one, directly utilize and the matched fault handling method of fault message to be processed
Hardware fault is repaired;
If the fault handling method be it is a plurality of, according to preset rules will at the matched failure of fault message to be processed
Reason method carries out priority ranking, and successively repairs to hardware fault according to ranking results.
7. hardware fault restorative procedure according to any one of claims 1 to 6, which is characterized in that further include:
Collect the historical failure information in server;
Utilize preset failure database described in the historical failure information creating;
Collect the corresponding fault handling method of the historical failure information;
It is created using the fault message and corresponding hardware processing method that have processing method in the historical failure information default
Rule database.
8. hardware fault restorative procedure according to claim 7, which is characterized in that described to utilize the historical failure information
Create the preset failure database, comprising:
All historical failure information are ranked up according to the sequence of the frequency of occurrences from big to small, creation obtains described default
Mishap Database;
Correspondingly, whether including historical failure corresponding with the fault message to be processed in the detection preset failure database
Information, comprising:
According in the preset failure database information arrangement sequence, successively detect preset failure database in whether comprising with
The corresponding historical failure information of the fault message to be processed.
9. hardware fault restorative procedure according to claim 8, which is characterized in that further include:
Information in the preset failure database and the preset rules database summarize arrangement, and by the information
It is visualized.
10. a kind of hardware fault prosthetic device characterized by comprising
Failure obtains module, for obtaining the fault message to be processed of target hardware;
Whether fault detection module is gone through comprising corresponding with the fault message to be processed for detecting in preset failure database
History fault message;Wherein, the preset failure database is the database obtained by collecting historical failure information in advance;
Method detection module, for including historical failure corresponding with the fault message to be processed in the preset failure database
Information, then detect in preset rules database whether include and the matched fault handling method of fault message to be processed;Its
In, the preset rules database be comprising have in the historical failure information that is collected into advance the fault message of processing method and
The database of corresponding fault handling method;
Fault restoration module, in preset rules database whether with the matched troubleshooting side of fault message to be processed
Method then repairs hardware fault using with the matched fault handling method of fault message to be processed.
11. a kind of hardware fault prosthetic appliance characterized by comprising
Memory, for storing computer program;
Processor realizes the hardware fault reparation side as described in any one of claim 1 to 9 when for executing the computer program
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811020516.7A CN109117298A (en) | 2018-09-03 | 2018-09-03 | A kind of hardware fault restorative procedure, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811020516.7A CN109117298A (en) | 2018-09-03 | 2018-09-03 | A kind of hardware fault restorative procedure, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109117298A true CN109117298A (en) | 2019-01-01 |
Family
ID=64860546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811020516.7A Pending CN109117298A (en) | 2018-09-03 | 2018-09-03 | A kind of hardware fault restorative procedure, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109117298A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992442A (en) * | 2019-04-24 | 2019-07-09 | 广东电网有限责任公司 | A kind of fault handling method, system, equipment and storage medium |
CN110531742A (en) * | 2019-09-16 | 2019-12-03 | 重庆华能水电设备制造有限公司 | A kind of generator current collecting equipment real time monitoring and method for diagnosing faults |
CN111829533A (en) * | 2019-04-18 | 2020-10-27 | 广州市百果园信息技术有限公司 | Data detection method, device, equipment and storage medium |
CN111999579A (en) * | 2020-08-14 | 2020-11-27 | 国网智能科技股份有限公司 | Automatic detection system and method for charging pile |
CN112732465A (en) * | 2021-01-20 | 2021-04-30 | 北京高码科技有限公司 | Method for realizing automatic remote execution based on configuration scheduling |
CN113064836A (en) * | 2021-05-07 | 2021-07-02 | 中国工商银行股份有限公司 | Business abnormity repairing method and device based on bank system automation test |
CN114374996A (en) * | 2021-12-29 | 2022-04-19 | 浪潮通信信息系统有限公司 | Fault processing method, device, equipment and product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106383760A (en) * | 2016-09-19 | 2017-02-08 | 郑州云海信息技术有限公司 | Computer fault management method and apparatus |
CN106407030A (en) * | 2016-09-13 | 2017-02-15 | 郑州云海信息技术有限公司 | Failure processing method and system for storage cluster system |
CN106469098A (en) * | 2016-09-19 | 2017-03-01 | 广州日滨科技发展有限公司 | A kind of fault handling method of equipment and device |
CN107179958A (en) * | 2017-03-31 | 2017-09-19 | 北京奇艺世纪科技有限公司 | A kind of restorative procedure and device of advertisement putting failure |
CN107862393A (en) * | 2017-10-31 | 2018-03-30 | 广西宜州市联森网络科技有限公司 | A kind of IT operation management system |
-
2018
- 2018-09-03 CN CN201811020516.7A patent/CN109117298A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407030A (en) * | 2016-09-13 | 2017-02-15 | 郑州云海信息技术有限公司 | Failure processing method and system for storage cluster system |
CN106383760A (en) * | 2016-09-19 | 2017-02-08 | 郑州云海信息技术有限公司 | Computer fault management method and apparatus |
CN106469098A (en) * | 2016-09-19 | 2017-03-01 | 广州日滨科技发展有限公司 | A kind of fault handling method of equipment and device |
CN107179958A (en) * | 2017-03-31 | 2017-09-19 | 北京奇艺世纪科技有限公司 | A kind of restorative procedure and device of advertisement putting failure |
CN107862393A (en) * | 2017-10-31 | 2018-03-30 | 广西宜州市联森网络科技有限公司 | A kind of IT operation management system |
Non-Patent Citations (2)
Title |
---|
S. RUSTOGI ET AL.: "Distributed knowledge base fault tolerant system", 《2014 CONFERENCE ON IT IN BUSINESS, INDUSTRY AND GOVERNMENT (CSIBIG)》 * |
李静: "自修复数据库选择性恢复机制", 《计算机系统应用》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111829533A (en) * | 2019-04-18 | 2020-10-27 | 广州市百果园信息技术有限公司 | Data detection method, device, equipment and storage medium |
CN111829533B (en) * | 2019-04-18 | 2022-09-09 | 广州市百果园信息技术有限公司 | Data detection method, device, equipment and storage medium |
CN109992442A (en) * | 2019-04-24 | 2019-07-09 | 广东电网有限责任公司 | A kind of fault handling method, system, equipment and storage medium |
CN110531742A (en) * | 2019-09-16 | 2019-12-03 | 重庆华能水电设备制造有限公司 | A kind of generator current collecting equipment real time monitoring and method for diagnosing faults |
CN111999579A (en) * | 2020-08-14 | 2020-11-27 | 国网智能科技股份有限公司 | Automatic detection system and method for charging pile |
CN111999579B (en) * | 2020-08-14 | 2023-10-31 | 山东鲁软数字科技有限公司智慧能源分公司 | Automatic detection system and method for charging pile |
CN112732465A (en) * | 2021-01-20 | 2021-04-30 | 北京高码科技有限公司 | Method for realizing automatic remote execution based on configuration scheduling |
CN113064836A (en) * | 2021-05-07 | 2021-07-02 | 中国工商银行股份有限公司 | Business abnormity repairing method and device based on bank system automation test |
CN114374996A (en) * | 2021-12-29 | 2022-04-19 | 浪潮通信信息系统有限公司 | Fault processing method, device, equipment and product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109117298A (en) | A kind of hardware fault restorative procedure, device and equipment | |
US20230385170A1 (en) | Systems and methods for collecting, tracking, and storing system performance and event data for computing devices | |
CN110399260B (en) | System and method for predictively servicing and supporting solutions | |
CN110493080A (en) | A kind of block chain node monitoring method, device and electronic equipment and storage medium | |
US20200342690A1 (en) | Method for establishing communicable connection with tire pressure monitoring system, apparatus thereof and electronic device | |
JP2015505097A (en) | Computer-implemented process, computer program product, and apparatus for repair delivery system | |
CN109088783A (en) | Refresh progress acquisition methods, device and equipment between whole machine cabinet server multistage | |
US20130159786A1 (en) | System and method to assess serviceability of device | |
CN109167699A (en) | The method and apparatus for handling the state of the node of block chain | |
CN112243014B (en) | Fault information processing method and device, electronic equipment and storage medium | |
CN111857555A (en) | Method, apparatus and program product for avoiding failure events of disk arrays | |
JP6880560B2 (en) | Failure prediction device, failure prediction method and failure prediction program | |
CN113190415A (en) | Internet hospital system monitoring method, equipment, storage medium and program product | |
CN108287774A (en) | A kind of method for diagnosing faults of server, device, equipment and storage medium | |
CN109002305A (en) | A kind of update method and its system of device program | |
CN106899436A (en) | A kind of cloud platform failure predication diagnostic system | |
CN111198902A (en) | Metadata management method and device, storage medium and electronic equipment | |
EP3035260A1 (en) | Case management linkage of updates, evidence, and triggers | |
JP6015750B2 (en) | Log collection server, log collection system, and log collection method | |
CN109992477A (en) | Information processing method, system and electronic equipment for electronic equipment | |
CN107368350A (en) | Cluster management method, system, storage medium and the electronic equipment of virtual payment machine | |
CN116504039A (en) | Abnormality identification method and device for indoor equipment and electronic equipment | |
WO2016125248A1 (en) | Maintenance assistance system, maintenance assistance method, and maintenance assistance program | |
CN113835961B (en) | Alarm information monitoring method, device, server and storage medium | |
CN109146096A (en) | Report processing method, device, storage medium and the electronic equipment of event for repairment |
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: 20190101 |