[go: up one dir, main page]

CN104932979A - Software fault locating method and device - Google Patents

Software fault locating method and device Download PDF

Info

Publication number
CN104932979A
CN104932979A CN201510373662.8A CN201510373662A CN104932979A CN 104932979 A CN104932979 A CN 104932979A CN 201510373662 A CN201510373662 A CN 201510373662A CN 104932979 A CN104932979 A CN 104932979A
Authority
CN
China
Prior art keywords
fault
software
module
running status
repair
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510373662.8A
Other languages
Chinese (zh)
Inventor
王沛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201510373662.8A priority Critical patent/CN104932979A/en
Publication of CN104932979A publication Critical patent/CN104932979A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a software fault locating method. The method comprises the steps of recording a fault occurrence time; receiving a fault locating command sent by a user, and acquiring a system environment in a preset time before the fault occurrence time; in the system environment, allowing the running state of the software in the preset time to reappear, and determining, according to the reappearing running state, the problem causing the software fault; and feeding the problem back to a user interface, and repairing the fault. The invention also provides a software fault locating device. The device comprises a recording module, an acquiring module, a locating module and a repairing module. The method and device can intuitively find out the reason for the software running fault problem and have good interaction.

Description

A kind of software fault lookup method and device
Technical field
The present invention relates to Computer Applied Technology field, particularly a kind of software fault lookup method and device.
Background technology
Breaking down in software running process, is the very common problem of of computer utility.At present, when the software run in computing machine breaks down, generally can only wait for software self-healing or stop running software by force by instruments such as task managers, and user cannot failure judgement be due to the problem of software own or self operational issue, lack the approach and technological means that react problem place comparatively intuitively.
Summary of the invention
The invention provides a kind of software fault lookup method, to solve the problem.
Embodiments provide a kind of software fault lookup method, comprise step:
Steps A, there is the moment in record trouble;
Step B, receives the inquiry faulting instruction that user sends, the system environments before the acquisition fault generation moment in Preset Time;
Step C, in system environments, reappears the running status of software in described Preset Time, and the running status according to reappearing determines the problem causing software fault;
Step D, feeds back to user interface by problem, and repairs.
Wherein, step C also comprises step:
Judge whether the running status of reappearing conforms to the running status that the moment occurs fault, no, then adjust described Preset Time.
Wherein, step is comprised after step D:
Whether, be then automatically repair, no if selecting automatically to repair user interface prompt user, then eject manually reparation dialog box and manually repair.
Wherein, also step is comprised after step D:
Failure message and reparation result are reported.
The present invention also provides a kind of software fault to search device, comprises logging modle, acquisition module, searches module and repair module;
, there is the moment for record trouble in logging modle;
Acquisition module, for receiving the inquiry faulting instruction that user sends, the system environments before the acquisition fault generation moment in Preset Time;
Search module, in described system environments, reappear the running status of software in described Preset Time, the running status according to reappearing determines the problem causing software fault;
Described reparation module, for problem is fed back to user interface, and repairs.
Wherein, search module, also for judging whether the running status of reappearing conforms to the running status that the moment occurs fault, no, then adjust described Preset Time.
Whether, for user interface prompt user select automatically repair, be then automatically repair, no if wherein, repairing module, then eject manually reparation dialog box and manually repair.
Wherein, this device also comprises reporting module, for failure message and reparation result being reported.
Embodiments provide a kind of software fault lookup method, the running status broken down by reconstruction software for the previous period, come resolve fault problem place, and after finding problem place, visual feedback to user interface, to make user conveniently learn question classification, if belong to user operation problem, then user can take a hint from problem feedback information, prevents again because same faulty operation causing trouble occurs;
Further, by fault information reporting, the fault that same software occurs can be added up according to Questions types, thus solve pointedly, so can improve fault and solve efficiency.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of an embodiment of software fault lookup method provided by the invention;
Fig. 2 searches the structural representation of device for software fault that the embodiment of the present invention provides.
Embodiment
Embodiments provide a kind of software fault lookup method.Shown in Figure 1, the method comprising the steps of:
Step S110, there is the moment in record trouble.
Step S111, receives the inquiry faulting instruction that user sends, the system environments before the acquisition fault generation moment in Preset Time.
Described Preset Time is the time span value set according to the operation conditions of actual software, the length of Preset Time is through practical operation repetition training adjustment and obtains, when the running status that the moment occurs for the running status of reappearing and fault does not conform to, then adjust Preset Time.
Step S112, in system environments, reappear the running status of software in Preset Time, the running status according to reappearing determines the problem causing software fault.
Step S113, feeds back to user interface by problem, and repairs.
Whether, be then automatically repair, no if selecting automatically to repair user interface prompt user, then eject manually reparation dialog box and manually repair.
Preferably, as a kind of embodiment, failure message and reparation result are reported.System can be carried out classification according to the failure message reported and be summed up, and arranges different solutions for different problem.
The present invention also provides a kind of software fault to search device, shown in Figure 2, comprises logging modle, acquisition module, searches module and repair module.
, there is the moment for record trouble in logging modle;
Acquisition module, for receiving the inquiry faulting instruction that user sends, the system environments before the acquisition fault generation moment in Preset Time;
Search module, in system environments, reappear the running status of software in Preset Time, the running status according to reappearing determines the problem causing software fault;
Repair module, for problem is fed back to user interface, and repair.
Preferably, search module, also for judging whether the running status of reappearing conforms to the running status that the moment occurs fault, no, then adjust Preset Time.
Whether, for user interface prompt user select automatically repair, be then automatically repair, no if preferably, repairing module, then eject manually reparation dialog box and manually repair.
Preferably, as a kind of embodiment, this device also comprises reporting module, for failure message and reparation result being reported.
To sum up, a kind of software fault lookup method provided by the invention and device, by reproducing software fault running status interior for the previous period, the reason place of looking up the fault directly perceived, and intuitively analysis result is fed back to user, user can be allowed to learn problem source, thus specific aim solves.The repair mechanism selected provided, compares direct self-healing, and allow user have more initiative, interactivity is better.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article person equipment.When not more restrictions by statement " comprising one ... " key element of limiting, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (8)

1. a software fault lookup method, is characterized in that, comprises step:
Steps A, there is the moment in record trouble;
Step B, receives the inquiry faulting instruction that user sends, the system environments before the acquisition fault generation moment in Preset Time;
Step C, in described system environments, reappears the running status of software in described Preset Time, and the running status according to reappearing determines the problem causing software fault;
Step D, feeds back to user interface by problem, and repairs.
2. software fault lookup method according to claim 1, is characterized in that, described step C also comprises step:
Judge whether the running status of reappearing conforms to the running status that the moment occurs fault, no, then adjust described Preset Time.
3. software fault lookup method according to claim 1, is characterized in that, comprises step after described step D:
Whether, be then automatically repair, no if selecting automatically to repair user interface prompt user, then eject manually reparation dialog box and manually repair.
4. software fault lookup method according to claim 1, is characterized in that, also comprise step after step D:
Failure message and reparation result are reported.
5. software fault searches a device, it is characterized in that, comprises logging modle, acquisition module, searches module and repair module;
, there is the moment for record trouble in described logging modle;
Described acquisition module, for receiving the inquiry faulting instruction that user sends, the system environments before the acquisition fault generation moment in Preset Time;
Describedly search module, in described system environments, reappear the running status of software in described Preset Time, the running status according to reappearing determines the problem causing software fault;
Described reparation module, for problem is fed back to user interface, and repairs.
6. software fault according to claim 5 searches device, it is characterized in that, described in search module, also for judge reappear running status whether conform to the running status that the moment occurs fault, no, then adjust described Preset Time.
7. software fault according to claim 5 searches device, it is characterized in that, described reparation module, for selecting whether automatically to repair user interface prompt user, be then automatically repair, no, then eject manually reparation dialog box and manually repair.
8. software fault according to claim 5 searches device, it is characterized in that, also comprises reporting module, for failure message and reparation result being reported.
CN201510373662.8A 2015-07-01 2015-07-01 Software fault locating method and device Pending CN104932979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510373662.8A CN104932979A (en) 2015-07-01 2015-07-01 Software fault locating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510373662.8A CN104932979A (en) 2015-07-01 2015-07-01 Software fault locating method and device

Publications (1)

Publication Number Publication Date
CN104932979A true CN104932979A (en) 2015-09-23

Family

ID=54120151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510373662.8A Pending CN104932979A (en) 2015-07-01 2015-07-01 Software fault locating method and device

Country Status (1)

Country Link
CN (1) CN104932979A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998255A (en) * 2016-01-22 2017-08-01 腾讯科技(深圳)有限公司 A kind of feedback processing server, network system and feedback method for treating
CN107026760A (en) * 2017-05-03 2017-08-08 联想(北京)有限公司 A kind of fault repairing method and monitor node
WO2018082176A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 Method for processing fault of terminal device, and terminal device
CN108270832A (en) * 2016-12-30 2018-07-10 华为软件技术有限公司 A kind of failure playback method and device
CN105653389B (en) * 2016-03-23 2019-02-01 北京珠穆朗玛移动通信有限公司 A kind of data diagnosis restorative procedure and device
CN109782987A (en) * 2019-01-21 2019-05-21 维沃移动通信有限公司 A message display method and mobile terminal
CN112634696A (en) * 2020-12-21 2021-04-09 贝壳技术有限公司 Fault positioning practice method and device, electronic equipment and storage medium
US11294741B1 (en) 2020-02-26 2022-04-05 State Farm Mutual Automobile Insurance Company Systems and methods for capturing and reporting a technical event

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271421A (en) * 2007-03-22 2008-09-24 北京邮电大学 A software fault testing system and method
KR20090078696A (en) * 2008-01-15 2009-07-20 포항공과대학교 산학협력단 Simulation methodology to support testing of software under test based on user environment profiling
CN101645033A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Debugging method in abnormality of mobile phone software
CN103077110A (en) * 2011-10-25 2013-05-01 阿里巴巴集团控股有限公司 Test method and device
US20130117731A1 (en) * 2009-07-06 2013-05-09 Appsage, Inc. Software testing
CN103902454A (en) * 2014-04-08 2014-07-02 安一恒通(北京)科技有限公司 Method and device for locating software faults
US20150095880A1 (en) * 2013-09-27 2015-04-02 Salesforce.Com, Inc. Facilitating software development tools on mobile computing devices in an on-demand services environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271421A (en) * 2007-03-22 2008-09-24 北京邮电大学 A software fault testing system and method
KR20090078696A (en) * 2008-01-15 2009-07-20 포항공과대학교 산학협력단 Simulation methodology to support testing of software under test based on user environment profiling
CN101645033A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Debugging method in abnormality of mobile phone software
US20130117731A1 (en) * 2009-07-06 2013-05-09 Appsage, Inc. Software testing
CN103077110A (en) * 2011-10-25 2013-05-01 阿里巴巴集团控股有限公司 Test method and device
US20150095880A1 (en) * 2013-09-27 2015-04-02 Salesforce.Com, Inc. Facilitating software development tools on mobile computing devices in an on-demand services environment
CN103902454A (en) * 2014-04-08 2014-07-02 安一恒通(北京)科技有限公司 Method and device for locating software faults

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998255A (en) * 2016-01-22 2017-08-01 腾讯科技(深圳)有限公司 A kind of feedback processing server, network system and feedback method for treating
CN106998255B (en) * 2016-01-22 2020-01-10 腾讯科技(深圳)有限公司 Feedback processing server, network system and feedback processing method
CN105653389B (en) * 2016-03-23 2019-02-01 北京珠穆朗玛移动通信有限公司 A kind of data diagnosis restorative procedure and device
WO2018082176A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 Method for processing fault of terminal device, and terminal device
CN108604200A (en) * 2016-11-03 2018-09-28 华为技术有限公司 The method and terminal device of the failure of processing terminal equipment
CN108270832B (en) * 2016-12-30 2020-11-06 华为技术有限公司 A fault replay method and device
CN108270832A (en) * 2016-12-30 2018-07-10 华为软件技术有限公司 A kind of failure playback method and device
CN107026760B (en) * 2017-05-03 2020-03-20 联想(北京)有限公司 Fault repairing method and monitoring node
CN107026760A (en) * 2017-05-03 2017-08-08 联想(北京)有限公司 A kind of fault repairing method and monitor node
CN109782987A (en) * 2019-01-21 2019-05-21 维沃移动通信有限公司 A message display method and mobile terminal
CN109782987B (en) * 2019-01-21 2021-04-02 维沃移动通信有限公司 Message display method and mobile terminal
US11294741B1 (en) 2020-02-26 2022-04-05 State Farm Mutual Automobile Insurance Company Systems and methods for capturing and reporting a technical event
CN112634696A (en) * 2020-12-21 2021-04-09 贝壳技术有限公司 Fault positioning practice method and device, electronic equipment and storage medium
CN112634696B (en) * 2020-12-21 2023-01-31 贝壳技术有限公司 Fault positioning exercise method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104932979A (en) Software fault locating method and device
US9916331B2 (en) Method and device for automatically processing static test data of rail transit vehicle
US20160364285A1 (en) Methods and systems for prioritizing replacement of at least one part for vehicle fault analysis
KR20200142896A (en) Breakdown type analysis system and method of digital equipment
US20170185968A1 (en) Systems and methods for component failure-mode surveillance
Schneider et al. A cyber-physical failure management system for smart factories
CN105659528A (en) Method and apparatus for realizing fault location
CN112380089A (en) Data center monitoring and early warning method and system
Shen et al. System failure analysis based on DEMATEL-ISM and FMECA
US20110264396A1 (en) Electrical circuit with physical layer diagnostics system
CN111708654A (en) A method and device for repairing virtual machine faults
US10317866B2 (en) State change management system for manufacturing cell in cell control system
US11126490B2 (en) Apparatus and methods for fault detection in a system consisted of devices connected to a computer network
CN117851122A (en) A disaster recovery backup system for power information system in cloud environment
CN107347086B (en) Self-checking system based on spare part identification
CN110597198B (en) Quality control device, quality control system and quality control method for TFT substrate glass
CN117575576A (en) Information integration method and system for PHM data and IETM data module of aviation equipment
CN111831862A (en) High-quality insulation evaluation system
CN110874404A (en) Knowledge providing program, knowledge providing device, and operation service system
KR102498062B1 (en) Metadata management system
CN116562665A (en) Method, device and processor for determining offline reasons of Internet of things equipment
CN104778120A (en) Comprehensive debugging method and system on basis of task types and equipment models
He An end-to-end log management framework for distributed systems
CN113408969A (en) Maintenance scheme generation method and system for distributed system
CN107346451B (en) Spare part tracing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150923

RJ01 Rejection of invention patent application after publication