CN112631885A - Method and system for pre-judging fault in advance and automatically repairing fault - Google Patents
Method and system for pre-judging fault in advance and automatically repairing fault Download PDFInfo
- Publication number
- CN112631885A CN112631885A CN202011507660.0A CN202011507660A CN112631885A CN 112631885 A CN112631885 A CN 112631885A CN 202011507660 A CN202011507660 A CN 202011507660A CN 112631885 A CN112631885 A CN 112631885A
- Authority
- CN
- China
- Prior art keywords
- fault
- repair
- repairing
- logs
- database
- 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 89
- 230000008439 repair process Effects 0.000 claims abstract description 160
- 238000004140 cleaning Methods 0.000 claims abstract description 21
- 238000012545 processing Methods 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 33
- 238000010586 diagram Methods 0.000 description 6
- 238000011084 recovery Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- 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/14—Error detection or correction of the data by redundancy in operation
- G06F11/1479—Generic software techniques for error detection or fault masking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method and a system for prejudging faults in advance and automatically repairing the faults, and relates to the field of automation operation and maintenance, wherein the method comprises the steps of periodically acquiring logs of a server, caching the acquired logs through a message middleware, cleaning the cached logs and storing the cached logs into a database, wherein the logs comprise service logs and system logs; analyzing the log based on the server fault characteristic experience to obtain a fault corresponding to the log; according to the obtained characteristics of the fault, performing ordinary active repair, professional active repair or calling an automatic repair method in a fault repair database to repair the fault; and adjusting an automatic repair method in the fault repair database and adjusting the fault characteristic experience of the server based on the fault repair result. The invention pre-judges the fault based on a log mode, automatically repairs the judged fault to realize the directional maintenance of the fault, and effectively reduces the fault repair time and the manual operation and maintenance cost.
Description
Technical Field
The invention relates to the field of automatic operation and maintenance, in particular to a method and a system for prejudging a fault in advance and automatically repairing the fault.
Background
With the development of internet technology, the complexity of a business module is higher and higher, and the technical requirements and the operation and maintenance timeliness of operation and maintenance personnel are also higher and higher. In the traditional operation and maintenance mode, after the existing network fails, operation and maintenance personnel are informed to arrive at the site to carry out troubleshooting and positioning on the failure.
Due to different technical levels of operation and maintenance personnel, when some complex faults are processed, professional personnel are required to arrive at a fault site and perform processing cooperatively, so that longer time is consumed for fault removal, the method is difficult to apply to certain services with higher timeliness requirements, and meanwhile, long-time field fault removal and elimination result in higher manual operation and maintenance cost.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for prejudging a fault in advance and automatically repairing the fault, which are used for prejudging the fault based on a log mode and automatically repairing the judged fault so as to realize directional maintenance of the fault, thereby effectively reducing the fault repairing time and the manual operation and maintenance cost.
In order to achieve the above purpose, the method for prejudging the fault in advance and automatically repairing the fault provided by the invention comprises the following steps:
periodically acquiring logs of a server, caching the acquired logs through message middleware, cleaning the cached logs and storing the cached logs into a database, wherein the logs comprise service logs and system logs;
analyzing the log based on the server fault characteristic experience to obtain a fault corresponding to the log;
according to the obtained characteristics of the fault, performing ordinary active repair, professional active repair or calling an automatic repair method in a fault repair database to repair the fault;
and adjusting an automatic repair method in the fault repair database and adjusting the fault characteristic experience of the server based on the fault repair result.
On the basis of the technical scheme, the method comprises the following steps of periodically acquiring logs of a server, caching the acquired logs through message middleware, cleaning the cached logs and storing the cleaned logs into a database:
periodically acquiring service logs during the operation of a service module of the server and system logs during the operation of a system module based on a log acquisition tool operated on each server;
the log collection tool sends the collected logs to a message middleware for caching;
acquiring a log cached in message middleware through a log cleaning tool, and cleaning the log, wherein the cleaning comprises formatting processing and redundant information simplifying processing;
and storing the cleaned log in a database.
On the basis of the technical proposal, the device comprises a shell,
the server fault feature experience is the corresponding relation between the fault feature keywords and the fault;
the fault feature keywords are extracted from service logs output when a service module of the server fails, and extracted from system logs output when a system module of the server fails.
On the basis of the technical scheme, analyzing the log to obtain the fault corresponding to the log specifically comprises:
when the log has the fault feature keyword, the fault corresponding to the fault feature keyword is the fault corresponding to the current log;
and when the log does not have the fault characteristic keyword, the current log does not have the fault.
On the basis of the technical scheme, according to the obtained characteristics of the fault, performing ordinary active repair, professional active repair or calling an automatic repair method in a fault repair database to repair the fault, wherein the ordinary active repair or calling the automatic repair method in the fault repair database to repair the fault is specifically based on the characteristics of the fault:
when the fault is in the fault repairing database, automatically repairing the fault by an automatic repairing method corresponding to the fault in the fault repairing database;
and when the fault is not the fault in the fault repairing database, repairing the fault through ordinary active repairing.
On the basis of the technical scheme, after the fault is successfully repaired by the common active repair, the method further comprises the following steps: and auditing the repair result of the common active repair based on an auditing mechanism.
On the basis of the technical scheme, according to the obtained characteristics of the fault, performing ordinary active repair, professional active repair or calling an automatic repair method in a fault repair database to repair the fault, wherein the professional active repair of the fault specifically comprises:
when the fault is repaired by an automatic repairing method and is not successfully repaired, the fault is repaired by professional active repair;
when the fault is repaired through ordinary active repair and is not successfully repaired, the fault is repaired through professional active repair.
On the basis of the technical scheme, the method for adjusting the automatic repair in the fault repair database specifically comprises the following steps:
and adding the method adopted when the fault is repaired by a professional active repairing mode into the fault repairing database, and deleting the automatic repairing method which cannot successfully repair the fault in the fault repairing database.
On the basis of the technical proposal, the device comprises a shell,
the experience for adjusting the fault characteristics of the server specifically comprises the following steps: extracting keywords from a log corresponding to the fault with the misjudgment as newly added fault characteristic keywords to realize the adjustment of the fault characteristic experience of the server;
the false determination is that the fault not belonging to the fault repair database is determined to be a fault belonging to the fault repair database, or the fault belonging to the fault repair database is determined to be a fault not belonging to the fault repair database.
The invention provides a system for prejudging faults in advance and automatically repairing the faults, which comprises:
the acquisition module is used for periodically acquiring logs of the server, caching the acquired logs through the message middleware, cleaning the cached logs and storing the cached logs into a database, wherein the logs comprise service logs and system logs;
the analysis module is used for analyzing the log based on the server fault characteristic experience to obtain the fault corresponding to the log;
the repairing module is used for carrying out ordinary active repairing, professional active repairing or calling an automatic repairing method in the fault repairing database to repair the fault according to the obtained characteristics of the fault;
and the adjusting module is used for adjusting the automatic repairing method in the fault repairing database and adjusting the fault characteristic experience of the server based on the fault repairing result.
Compared with the prior art, the invention has the advantages that: the log is collected and analyzed to obtain fault information, the fault is repaired through an automatic repairing method in a fault repairing database, the fault is pre-judged based on the log mode, the judged fault is automatically repaired to achieve directional maintenance of the fault, and fault repairing time and manual operation and maintenance cost are effectively reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of a method for predicting a fault in advance and automatically repairing the fault in an embodiment of the present invention;
fig. 2 is a detailed flowchart of a method for predicting a fault in advance and automatically repairing the fault in the embodiment of the present invention.
Detailed Description
The invention provides a method for prejudging faults in advance and automatically repairing the faults, which acquires fault information by collecting logs and analyzing the logs, finishes repairing the faults by an automatic repairing method in a fault repairing database, prejudges the faults in a log-based mode, automatically repairs the judged faults, and effectively reduces the fault repairing time and the manual operation and maintenance cost. The embodiment of the invention correspondingly provides a system for prejudging the fault in advance and automatically repairing the fault.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a method for predicting a fault in advance and automatically repairing the fault provided in the embodiment of the present invention specifically includes the following steps:
s1: and periodically acquiring logs of the server, caching the acquired logs through the message middleware, cleaning the cached logs and storing the cached logs into a database, wherein the logs comprise service logs and system logs. When the operation of the server fails, the failure related information of the server can be obtained by collecting the log output by the server and analyzing the log.
S2: and analyzing the log based on the server fault characteristic experience to obtain the fault corresponding to the log.
S3: and according to the obtained characteristics of the fault, performing ordinary active repair, professional active repair or calling an automatic repair method in a fault repair database to repair the fault.
In the embodiment of the invention, the fault repairing database stores the automatic repairing method for repairing the fault, and the automatic repairing method and the fault are in a corresponding relation. The automatic repair method in the fault repair database is added by professional operation and maintenance personnel such as experts, and when the professional operation and maintenance personnel actively intervene to repair a certain fault, the repair method for repairing the fault can be added to the fault repair database as an automatic repair method for automatically repairing the fault subsequently.
In the embodiment of the invention, the common active repair is the intervention of common operation and maintenance personnel to repair the fault; professional active repair is the intervention of professional operation and maintenance personnel such as experts and the like, and the fault is repaired.
S4: and adjusting an automatic repair method in the fault repair database and adjusting the fault characteristic experience of the server based on the fault repair result.
In the embodiment of the invention, the method comprises the following steps of periodically acquiring logs of a server, caching the acquired logs through message middleware, cleaning the cached logs and storing the cleaned logs into a database:
s101: and periodically acquiring service logs during the operation of the service module of the server and system logs during the operation of the system module based on a log acquisition tool operated on each server. And a log acquisition tool runs on each server, and periodically acquires service logs generated when the service module of the server runs and system logs generated when the system module runs through the log acquisition tool. The log collection tool in the embodiment of the invention can be a Filebeat which is a log data collector and can monitor a log directory or a specific log file and realize the forwarding of the log file.
S102: and the log collection tool sends the collected logs to the message middleware for caching. The message middleware in the embodiment of the invention can be Kafka, wherein Kafka is a distributed, partitioned, multi-copy, multi-subscriber and zookeeper coordination-based distributed log system. Through a cache mechanism, the collected logs can be cached in time under the condition that the collected logs are large in quantity, and the subsequent further operation on the logs is facilitated.
S103: and acquiring the log cached in the message middleware through a log cleaning tool, and cleaning the log, wherein the cleaning comprises formatting processing and redundant information simplifying processing. The log cleaning tool can be Logstash, which is a platform for application program log, transmission, processing, management and search of events.
S104: and storing the cleaned log in a database.
In the embodiment of the invention, the server fault characteristic experience is the corresponding relation between the fault characteristic keywords and the fault; the fault feature key is extracted from a service log output when a service module of the server fails and from a system log output when a system module of the server fails. For example, when a network failure occurs in the server, the output log may contain words such as "network interruption", and therefore "network interruption" may be used as a failure feature keyword of the network failure.
In the embodiment of the present invention, analyzing the log to obtain the fault corresponding to the log specifically includes:
when the log has the fault feature keyword, the fault corresponding to the fault feature keyword is the fault corresponding to the current log;
and when the log does not have the fault characteristic keyword, the current log does not have the fault.
In the embodiment of the invention, according to the obtained characteristics of the fault, the fault is subjected to ordinary active repair, professional active repair or an automatic repair method in a fault repair database is called for repair, wherein the fault is subjected to ordinary active repair or an automatic repair method in the fault repair database is called for repair, and specifically, based on the characteristics of the fault:
when the fault is in the fault repairing database, automatically repairing the fault by an automatic repairing method corresponding to the fault in the fault repairing database;
and when the fault is not the fault in the fault repairing database, repairing the fault through ordinary active repairing. And when the fault is successfully repaired by the common active repair, the method also comprises the following steps: and (4) auditing the repair result of the common active repair based on an auditing mechanism, namely, the operation and maintenance personnel send the repair scheme to professional operation and maintenance personnel through mails, and the professional operation and maintenance personnel audit the repair scheme.
In the embodiment of the present invention, according to the obtained characteristics of the fault, the fault is repaired by performing general active repair, professional active repair, or calling an automatic repair method in a fault repair database, wherein the professional active repair of the fault specifically includes:
when the fault is repaired by an automatic repairing method and is not successfully repaired, the fault is repaired by professional active repair; namely, the fault is repaired by an automatic repair method, and when the fault is not successfully repaired, professional operation and maintenance personnel are informed of the invalidity of the automatic repair through mails, and the professional operation and maintenance personnel perform professional active repair on the fault.
When the fault is repaired through ordinary active repair and is not successfully repaired, the fault is repaired through professional active repair. When the common active repair does not successfully repair the fault, the professional operation and maintenance personnel is informed of the fault through the mail, and the professional operation and maintenance personnel performs professional active repair on the fault.
In the embodiment of the invention, the method for adjusting the automatic repair in the fault repair database specifically comprises the following steps: and adding the method adopted when the fault is repaired by a professional active repairing mode into the fault repairing database, and deleting the automatic repairing method which cannot successfully repair the fault in the fault repairing database.
Adjusting the experience of the fault characteristics of the server specifically comprises the following steps: extracting keywords from a log corresponding to the fault with the misjudgment as newly added fault characteristic keywords to realize the adjustment of the fault characteristic experience of the server; the false determination is that a fault that does not belong to the failure recovery database is determined to belong to the failure recovery database, or a fault that belongs to the failure recovery database is determined to not belong to the failure recovery database.
A professional operation and maintenance worker who performs professional active repair repairs the fault which does not belong to the fault repair database, and adds a method for repairing the fault into the fault repair database as an automatic repair method in the fault repair database; the professional operation and maintenance personnel who perform professional active repair the fault which is subjected to common active repair and is not successfully repaired, and the method for repairing the fault is added into the fault repair database to serve as an automatic repair method in the fault repair database; and the professional operation and maintenance personnel who perform professional active repair the fault which is not successfully repaired, the method for repairing the fault is added into the fault repair database to be used as an automatic repair method in the fault repair database, and the automatic repair method which is originally corresponding to the fault in the fault repair database is deleted.
The service logs of the service module and the system logs of the system module are periodically acquired, log analysis strategies are periodically executed to obtain faults existing in the server, then the faults are automatically repaired through an automatic repairing method in a fault repairing database, the fault characteristic experience of the server and the fault repairing database are increasingly improved along with the accumulation of time, and the automatic operation and maintenance coverage degree and accuracy are higher and higher.
Referring to fig. 2, a detailed flow of the method for predicting a fault in advance and automatically repairing the fault in the embodiment of the present invention is as follows:
a: the log collection tool periodically collects the logs of the service module and the system module in each server and turns to B;
b: the log collection tool sends the collected logs to a message middleware for caching, and the operation goes to step C;
c: obtaining the log cached in the message middleware through a log cleaning tool, cleaning the log and turning to the step D;
d: storing the cleaned log into a database, and turning to E;
e: performing periodic analysis on the log, and turning to F;
f: judging whether the log is corresponding to a fault, if so, turning to G, and if not, ending;
g: analyzing the fault, judging whether the fault is in the fault repairing database, if so, turning to H, and if not, turning to J;
h: automatically repairing the fault by an automatic repairing method of the corresponding fault in the fault repairing database, and turning to I;
i: judging whether the fault is successfully repaired, if not, turning to K, and if so, ending;
j: repairing the fault through common active repair, and based on a fault repairing success result, if the repairing is successful, turning to K, repairing the fault through professional active repair, and if the repairing is failed, turning to K, auditing the repairing result by a person who performs professional active repair, wherein the person who performs auditing is the same as the person who performs professional active repair;
k: the fault is repaired through professional active repair, and the process goes to L;
l: and adjusting an automatic repair method in the fault repair database and adjusting the fault characteristic experience of the server based on the professional active repair result.
According to the method for predicting and automatically repairing the fault in advance, the log is collected and analyzed, the fault information is obtained, the fault is repaired through the automatic repairing method in the fault repairing database, the fault is predicted in a log-based mode, the judged fault is automatically repaired to achieve directional maintenance of the fault, the fault repairing time and the manual operation and maintenance cost are effectively reduced, the automatic operation and maintenance of the server system are achieved, and the service quality of the server system is improved.
The system for prejudging the fault in advance and automatically repairing the fault comprises an acquisition module, an analysis module, a repair module and an adjustment module.
The acquisition module is used for periodically acquiring logs of the server, caching the acquired logs through the message middleware, cleaning the cached logs and storing the cached logs into a database, wherein the logs comprise service logs and system logs; the analysis module is used for analyzing the log based on the server fault characteristic experience to obtain the fault corresponding to the log; the repair module is used for carrying out common active repair, professional active repair or calling an automatic repair method in the fault repair database to repair the fault according to the obtained characteristics of the fault; the adjusting module is used for adjusting an automatic repairing method in the fault repairing database and adjusting the server fault characteristic experience based on the fault repairing result.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Claims (10)
1. A method for pre-judging faults in advance and automatically repairing the faults is characterized by comprising the following steps:
periodically acquiring logs of a server, caching the acquired logs through message middleware, cleaning the cached logs and storing the cached logs into a database, wherein the logs comprise service logs and system logs;
analyzing the log based on the server fault characteristic experience to obtain a fault corresponding to the log;
according to the obtained characteristics of the fault, performing ordinary active repair, professional active repair or calling an automatic repair method in a fault repair database to repair the fault;
and adjusting an automatic repair method in the fault repair database and adjusting the fault characteristic experience of the server based on the fault repair result.
2. The method according to claim 1, wherein the method for pre-judging the fault in advance and automatically repairing the fault in advance periodically collects logs of a server, caches the collected logs through message middleware, cleans the cached logs and stores the cached logs into a database, and specifically comprises the following steps:
periodically acquiring service logs during the operation of a service module of the server and system logs during the operation of a system module based on a log acquisition tool operated on each server;
the log collection tool sends the collected logs to a message middleware for caching;
acquiring a log cached in message middleware through a log cleaning tool, and cleaning the log, wherein the cleaning comprises formatting processing and redundant information simplifying processing;
and storing the cleaned log in a database.
3. A method of anticipating faults and automatically repairing according to claim 1, wherein:
the server fault feature experience is the corresponding relation between the fault feature keywords and the fault;
the fault feature keywords are extracted from service logs output when a service module of the server fails, and extracted from system logs output when a system module of the server fails.
4. The method according to claim 3, wherein the analyzing the log to obtain the fault corresponding to the log specifically comprises:
when the log has the fault feature keyword, the fault corresponding to the fault feature keyword is the fault corresponding to the current log;
and when the log does not have the fault characteristic keyword, the current log does not have the fault.
5. The method according to claim 3, wherein the fault is repaired by performing general active repair, professional active repair, or calling an automatic repair method in a fault repair database according to the obtained characteristics of the fault, wherein the fault is repaired by performing general active repair or calling an automatic repair method in the fault repair database, specifically, based on the characteristics of the fault:
when the fault is in the fault repairing database, automatically repairing the fault by an automatic repairing method corresponding to the fault in the fault repairing database;
and when the fault is not the fault in the fault repairing database, repairing the fault through ordinary active repairing.
6. The method of claim 5, wherein when the fault is successfully repaired by normal active repair, the method further comprises: and auditing the repair result of the common active repair based on an auditing mechanism.
7. The method according to claim 5, wherein the fault is repaired by ordinary active repair, professional active repair, or by calling an automatic repair method in a fault repair database according to the obtained characteristics of the fault, wherein the professional active repair of the fault specifically includes:
when the fault is repaired by an automatic repairing method and is not successfully repaired, the fault is repaired by professional active repair;
when the fault is repaired through ordinary active repair and is not successfully repaired, the fault is repaired through professional active repair.
8. The method for predicting faults in advance and automatically repairing according to claim 7, wherein the method for adjusting the automatic repairing in the fault repairing database specifically comprises:
and adding the method adopted when the fault is repaired by a professional active repairing mode into the fault repairing database, and deleting the automatic repairing method which cannot successfully repair the fault in the fault repairing database.
9. The method of claim 7, wherein the fault is pre-determined in advance and automatically repaired, and the method comprises the following steps:
the experience for adjusting the fault characteristics of the server specifically comprises the following steps: extracting keywords from a log corresponding to the fault with the misjudgment as newly added fault characteristic keywords to realize the adjustment of the fault characteristic experience of the server;
the false determination is that the fault not belonging to the fault repair database is determined to be a fault belonging to the fault repair database, or the fault belonging to the fault repair database is determined to be a fault not belonging to the fault repair database.
10. A system for anticipating faults in advance and automatically repairing the faults, comprising:
the acquisition module is used for periodically acquiring logs of the server, caching the acquired logs through the message middleware, cleaning the cached logs and storing the cached logs into a database, wherein the logs comprise service logs and system logs;
the analysis module is used for analyzing the log based on the server fault characteristic experience to obtain the fault corresponding to the log;
the repairing module is used for carrying out ordinary active repairing, professional active repairing or calling an automatic repairing method in the fault repairing database to repair the fault according to the obtained characteristics of the fault;
and the adjusting module is used for adjusting the automatic repairing method in the fault repairing database and adjusting the fault characteristic experience of the server based on the fault repairing result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011507660.0A CN112631885A (en) | 2020-12-18 | 2020-12-18 | Method and system for pre-judging fault in advance and automatically repairing fault |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011507660.0A CN112631885A (en) | 2020-12-18 | 2020-12-18 | Method and system for pre-judging fault in advance and automatically repairing fault |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112631885A true CN112631885A (en) | 2021-04-09 |
Family
ID=75317636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011507660.0A Pending CN112631885A (en) | 2020-12-18 | 2020-12-18 | Method and system for pre-judging fault in advance and automatically repairing fault |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112631885A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113093999A (en) * | 2021-05-07 | 2021-07-09 | 厦门市美亚柏科信息股份有限公司 | Cache elimination method and system based on adaptive lock |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713007A (en) * | 2016-11-15 | 2017-05-24 | 郑州云海信息技术有限公司 | Alarm monitoring system and alarm monitoring method and device for server |
CN110750426A (en) * | 2019-10-30 | 2020-02-04 | 北京明朝万达科技股份有限公司 | Service state monitoring method and device, electronic equipment and readable storage medium |
CN110990218A (en) * | 2019-11-22 | 2020-04-10 | 深圳前海环融联易信息科技服务有限公司 | Visualization and alarm method and device based on mass logs and computer equipment |
-
2020
- 2020-12-18 CN CN202011507660.0A patent/CN112631885A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713007A (en) * | 2016-11-15 | 2017-05-24 | 郑州云海信息技术有限公司 | Alarm monitoring system and alarm monitoring method and device for server |
CN110750426A (en) * | 2019-10-30 | 2020-02-04 | 北京明朝万达科技股份有限公司 | Service state monitoring method and device, electronic equipment and readable storage medium |
CN110990218A (en) * | 2019-11-22 | 2020-04-10 | 深圳前海环融联易信息科技服务有限公司 | Visualization and alarm method and device based on mass logs and computer equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113093999A (en) * | 2021-05-07 | 2021-07-09 | 厦门市美亚柏科信息股份有限公司 | Cache elimination method and system based on adaptive lock |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113112086B (en) | Intelligent production system based on edge calculation and identification analysis | |
CN101197621B (en) | Method and system for remote diagnosing and locating failure of network management system | |
CN111181786B (en) | User feedback fault information processing method, device, server and storage medium | |
CN106372134B (en) | A kind of car networking real-time data processing method and system | |
CN107634860A (en) | A kind of weblogic clusters patch batch automatically updating method | |
WO2021143483A1 (en) | System maintenance method and apparatus, device, and storage medium | |
CN112631885A (en) | Method and system for pre-judging fault in advance and automatically repairing fault | |
CN112633611A (en) | Submarine cable state maintenance strategy optimization method and system based on big data analysis | |
KR102418594B1 (en) | Ict equipment management system and method there of | |
CN115016976B (en) | Root cause positioning method, device, equipment and storage medium | |
CN115174350A (en) | Operation and maintenance warning method, device, equipment and medium | |
CN107590647A (en) | The servo supervisory systems of ship-handling system | |
CN114185326A (en) | Vehicle remote diagnosis method, system and storage device | |
CN111984844A (en) | Method and system for automatically supplementing graph based on big data | |
CN112926401A (en) | Transmission line hardware corrosion detection method and system | |
CN106488489B (en) | Method and device for recovering user service data | |
KR101043134B1 (en) | Fault management method using network alarm information | |
CN111061702A (en) | Storage service method based on big data | |
CN111131378A (en) | Method and system for supplementing and acquiring real-time data after communication recovery | |
CN112073755B (en) | Method for realizing intelligent switching of authentication modes based on IPTV service log | |
CN116980285B (en) | Data processing-based intelligent detection response method, system and medium for resident operation and maintenance | |
CN111125130B (en) | Account type analysis method, system and storage medium for dream database | |
CN113886184A (en) | Monitoring automation starting and recovering method for application system | |
KR20060062000A (en) | Apparatus and method for sla of service assurance in telecommunication service | |
CN117633702A (en) | Method, system and equipment for efficiently fusing uncertain data of vehicle network self-repairing |
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: 20210409 |