CN106897170A - A kind of method that software is repaired based on the automatic study of question and answer report - Google Patents
A kind of method that software is repaired based on the automatic study of question and answer report Download PDFInfo
- Publication number
- CN106897170A CN106897170A CN201710108638.0A CN201710108638A CN106897170A CN 106897170 A CN106897170 A CN 106897170A CN 201710108638 A CN201710108638 A CN 201710108638A CN 106897170 A CN106897170 A CN 106897170A
- Authority
- CN
- China
- Prior art keywords
- answer
- software
- question
- report
- learning
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/142—Reconfiguring to eliminate the error
- G06F11/143—Reconfiguring to eliminate the error with loss of software functionality
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
The present invention relates to a kind of method for repairing software based on the automatic study of question and answer report, it is characterised in that including software learning process and automated execution process;Software learning process is to be identified and analyzed filtering the process to form model answer by question and answer report;Automated execution process is that automatic packaging answer becomes executable program process, and software data is backed up before configuration processor, prevents from recovering to be unable to starting problem after failing, and recovers that the system before repair functional rehabilitations can be called after failing.
Description
Technical field
The invention belongs to computer software technical field, and in particular to one kind repairs software based on the automatic study of question and answer report
Method.
Background technology
Because software is more and more important in we live, very strong effect is played, it is soft equally in industry-by-industry
Part improves our a lot of working ways and office efficiency.So the thing followed the problem arises.What is used is more, difficult
Exempt from that problem miscellaneous occurs, conventional software goes wrong, it is necessary to keeper or user oneself carry out the extensive of software
Multiple problem, it is possible to which a lot of people of problem encounter, if keeper is responsible for safeguarding software, his repetitive operation
Too much.This is the deficiencies in the prior art part.
The content of the invention
It is an object of the present invention to be directed to the defect that above-mentioned prior art is present, there is provided design is a kind of based on question and answer report
The method that software is repaired in automatic study, to solve above-mentioned technical problem.
To achieve these goals, the technical scheme is that:
It is a kind of to report the method that software is repaired in automatic study based on question and answer, it is characterised in that including software learning process and automatically
Change implementation procedure;
Software learning process is to be identified and analyzed filtering the process to form model answer by question and answer report, including:
The first step carries out full-text search to question and answer report, and carrying out matching by keyword finds corresponding problem, the phase for finding
The sequence number of pass problem is sorted out, then carries out secondary keyword filtration;
Second step is the sequence number that problem is obtained according to the first step, and the corresponding answer of problem is arranged, and is made answer and in the past
Compared with the answer in the experience storehouse into merits and demerits, check whether to be previously used before the answer, if used expression answer
Can be successfully recovered, used answer is all ranked up and is put into priority region high, other answers are carried out one by one
Comparison and arrange process;
Each answer is packaged into object and passes to automated execution module by the 3rd step according to the priority;
Automated execution process is that automatic packaging answer becomes executable program process, including:
The first step is arranged to the object for obtaining according to sequence, and the key order of answer is sentenced according to priority after arrangement
It is disconnected whether be correspondence software reparation order, be verified after drawing, whether alignment parameters consistent with the order one by one, draw
After be verified, then answer is encapsulated into script, other answers are all so processed successively, encapsulation complete;
Second step is configuration processor running, and backup operation is carried out to software first before configuration processor, is backed up successfully, is carried out
The process of data recovery, after having performed, if problematic, calls repair functions to be recovered automatically, returns to software and does not have
There is preprosthetic function.
Further, before carrying out learning process, produced problem and solution form report in use to collect software
Accuse, the form of the report is question-answering mode, the answer substep of the report is completed.
The sequence number that the software learning process first step obtains problem is to carry out arrangement classification to priority is low from priority is high.
Further, automated execution process second step, the time before configuration processor operation to one anticipation of keeper enters
Row intervenes automated execution script.
After auto-programming generation, general default path and recovery software are under a path.
All processes of configuration processor operation have log recording.
The packing forms of object are key, value.
The process of answer checking adds dictionary function, and dictionary is matched in problem and in answer, reaches put forward problem
The answer of matching can accurately be found.
The data of backup include user data, data cached.
The beneficial effects of the present invention are:
Technical scheme solves the problems, such as prior art well, either software user or system pipes
Reason person uses easily, and the method that software is repaired in automatic study of the invention ensure that user data is not easy to lose and sets
Standby high reliability, can be good at solving the software for frequently occurring problem, preferably can save human cost to company,
The demand instantly with future can more be met.
Additionally, design principle reliability of the present invention, simple structure, with application prospect widely.
As can be seen here, the present invention compared with prior art, improves with prominent substantive distinguishing features and significantly, and it is implemented
Beneficial effect be also obvious.
Brief description of the drawings
Fig. 1 is a kind of method inner bay composition that software is repaired based on the automatic study of question and answer report.
Specific embodiment
The present invention will be described in detail below in conjunction with the accompanying drawings and by specific embodiment, and following examples are to the present invention
Explanation, and the invention is not limited in implementation below.
A kind of method that software is repaired based on the automatic study of question and answer report that the present embodiment is provided, inside structure such as Fig. 1 institutes
Show, including software learning process and automated execution process;
Software learning process is to be identified and analyzed filtering the process to form model answer by question and answer report, including:
The first step carries out full-text search to question and answer report, and carrying out matching by keyword finds corresponding problem, the phase for finding
The sequence number of pass problem is according to priority high to carry out arrangement classification to priority is low, then carries out secondary keyword filtration;Second step
It is the sequence number that problem is obtained according to the first step, the low priority of sequence number is higher, uses into the corresponding answer of problem and in the past
Answer in the experience storehouse of merits and demerits is compared, and checks whether to be previously used before the answer, if used expression answer is energy
Enough it is successfully recovered, used answer is all ranked up and is put into priority region high, the ratio of other answers is carried out one by one
Pair and arrange process;Each answer is packaged into object and passes to automated execution module by the 3rd step according to the priority;
Automated execution process is that automatic packaging answer becomes executable program process, including:
To the form that obtains for key, value object are arranged according to sequence, according to priority to the key of answer after arrangement
Order carries out the order of the reparation for determining whether correspondence software, is verified after drawing, whether alignment parameters are with the life one by one
Order is consistent, is verified after drawing, then answer is encapsulated into script, and other answers are all so processed successively, seals
Install into;
Software learning needs in advance to get out question and answer report, the path position of report is told when calling, if any asking
The present problem condition of software, is manually entered program by topic, and such program can just draw the program of automatic recovery.Auto-programming
After generation, general default path and recover software under a path, after obtaining the program, program is copied to be recovered soft
In the master management server of part.
After the completion of copy, the program is directly run, whether one more reminds the check machine meeting for carrying out pre- judgement before operation,
If inspection is out of question, can directly run, various useful informations can be exported in operation, including whether backup succeeds, Yi Jibei
Then part path, the result output for performing the grammer output of first command and performing can automatically call software, checking software
Whether successfully recover, if be successfully recovered after the completion of execution, software can normally be run, and recovery routine is automatically exited from.If not yet
Have successfully, follow-up recovery routine is performed successively, be not all successfully recovered if all of program, software can point out to recover to lose
Lose, and the state before automatically calling repair programs that software rejuvenation is arrived automatically.
By above step, final software just can be used normally.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this area
What technical staff can think does not have creative change, and some improvement made without departing from the principles of the present invention and
Retouching, should all be within the scope of the present invention.
Claims (10)
1. it is a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that including software learning process and certainly
Dynamicization implementation procedure;
Software learning process is to be identified and analyzed filtering the process to form model answer by question and answer report, including:
The first step carries out full-text search to question and answer report, and carrying out matching by keyword finds corresponding problem, the phase for finding
The sequence number of pass problem is sorted out, then carries out secondary keyword filtration;
Second step is the sequence number that problem is obtained according to the first step, and the corresponding answer of problem is arranged, and is made answer and in the past
Compared with the answer in the experience storehouse into merits and demerits, check whether to be previously used before the answer, if used expression answer
Can be successfully recovered, used answer is all ranked up and is put into priority region high, other answers are carried out one by one
Comparison and arrange process;
Each answer is packaged into object and passes to automated execution module by the 3rd step according to the priority;
Automated execution process is that automatic packaging answer becomes executable program process, including:
The first step is arranged to the object for obtaining according to sequence, and the key order of answer is sentenced according to priority after arrangement
It is disconnected whether be correspondence software reparation order, be verified after drawing, whether alignment parameters consistent with the order one by one, draw
After be verified, then answer is encapsulated into script, other answers are all so processed successively, encapsulation complete;
Second step is configuration processor running, and backup operation is carried out by software first before configuration processor, is backed up successfully,
The process of data recovery is carried out, after having performed, if problematic, calls repair functions to be recovered automatically, returned to soft
Part does not have preprosthetic function.
2. it is according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that to enter
Before row learning process, produced problem and solution form report in use to collect software, and the form of the report is
Question-answering mode.
3. it is according to claim 2 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that institute
The answer substep for stating report is completed.
4. it is according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that soft
The sequence number that the first step obtains problem in part learning process is to carry out arrangement classification to priority is low from priority is high.
5. according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that from
Dynamicization implementation procedure second step, one time of anticipation carries out intervening automated execution pin before configuration processor operation to keeper
This.
6. according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that from
After dynamic program generation, general default path and recovery software are under a path.
7. it is according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that to hold
All processes of stroke sort run have log recording.
8. it is according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that right
The packing forms of elephant are key, value.
9. it is according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that to answer
The process of case checking adds dictionary function, and dictionary is matched in problem and in answer.
10. according to claim 1 a kind of based on the automatic method for learning to repair software of question and answer report, it is characterised in that
The data of backup include user data, data cached.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710108638.0A CN106897170A (en) | 2017-02-27 | 2017-02-27 | A kind of method that software is repaired based on the automatic study of question and answer report |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710108638.0A CN106897170A (en) | 2017-02-27 | 2017-02-27 | A kind of method that software is repaired based on the automatic study of question and answer report |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106897170A true CN106897170A (en) | 2017-06-27 |
Family
ID=59184377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710108638.0A Pending CN106897170A (en) | 2017-02-27 | 2017-02-27 | A kind of method that software is repaired based on the automatic study of question and answer report |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106897170A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766217A (en) * | 2018-12-20 | 2019-05-17 | 北京梧桐车联科技有限责任公司 | A kind of vehicle system fault repairing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104951458A (en) * | 2014-03-26 | 2015-09-30 | 华为技术有限公司 | Method and equipment for helping processing based on semantic recognition |
CN105335246A (en) * | 2015-10-27 | 2016-02-17 | 北京大学 | Method for automatically repairing program crash defect based on question-answer website analysis |
CN105824718A (en) * | 2016-04-01 | 2016-08-03 | 北京大学 | Automatic repairing method and automatic repairing system for software configuration fault based on question and answer website knowledge |
-
2017
- 2017-02-27 CN CN201710108638.0A patent/CN106897170A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104951458A (en) * | 2014-03-26 | 2015-09-30 | 华为技术有限公司 | Method and equipment for helping processing based on semantic recognition |
CN105335246A (en) * | 2015-10-27 | 2016-02-17 | 北京大学 | Method for automatically repairing program crash defect based on question-answer website analysis |
CN105824718A (en) * | 2016-04-01 | 2016-08-03 | 北京大学 | Automatic repairing method and automatic repairing system for software configuration fault based on question and answer website knowledge |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766217A (en) * | 2018-12-20 | 2019-05-17 | 北京梧桐车联科技有限责任公司 | A kind of vehicle system fault repairing method and device |
CN109766217B (en) * | 2018-12-20 | 2021-06-22 | 北京梧桐车联科技有限责任公司 | Vehicle machine system fault repairing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106603264A (en) | Method and equipment for positioning fault root | |
CN102346756B (en) | Device failure solution knowledge management and search system and method | |
CN105824718A (en) | Automatic repairing method and automatic repairing system for software configuration fault based on question and answer website knowledge | |
CN103440252B (en) | Information extracting method arranged side by side and device in a kind of Chinese sentence | |
CN112818351B (en) | Industrial control system-oriented vulnerability priority analysis method, system, equipment and storage medium | |
CN109710518A (en) | Script checking method and device | |
CN107644256A (en) | A kind of method that diagnosis rule storehouse is formed based on machine learning mode | |
CN108009067A (en) | A kind of method and system that RAID card details are checked under server | |
CN101425064B (en) | Processing method and system for testing log | |
CN111930597B (en) | Log abnormality detection method based on transfer learning | |
Sadat et al. | Delucionqa: Detecting hallucinations in domain-specific question answering | |
CN114118295A (en) | Anomaly detection model training method, anomaly detection device and medium | |
CN116821310A (en) | Enterprise knowledge base question-answering system based on large model and knowledge graph | |
CN106897170A (en) | A kind of method that software is repaired based on the automatic study of question and answer report | |
CN109446101B (en) | Automatic testing method and device for restarting BMC based on ipmi instruction | |
CN111930862B (en) | SQL interactive analysis method and system based on big data platform | |
CN106155704A (en) | A kind of method and system stoping application program mutually to wake up up | |
US20210312900A1 (en) | Relevant document retrieval to assist agent in real time customer care conversations | |
CN108829533B (en) | Fault tolerance detection method for intelligent computer system | |
CN116302984A (en) | Root cause analysis method and device for test task and related equipment | |
CN113807077B (en) | Natural language test script analysis processing method and device and electronic equipment | |
CN109902012A (en) | A kind of automation generates the method and device of server test report | |
CN113190544A (en) | MES data extraction and cleaning method for enterprises | |
CN115185933A (en) | Multi-source manufacturing data preprocessing method for aerospace products | |
CN111176618B (en) | Method and system for developing program by voice wakeup |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
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: 20170627 |