WO2015154517A1 - 一种软件故障的定位方法、装置及设备 - Google Patents
一种软件故障的定位方法、装置及设备 Download PDFInfo
- Publication number
- WO2015154517A1 WO2015154517A1 PCT/CN2014/094302 CN2014094302W WO2015154517A1 WO 2015154517 A1 WO2015154517 A1 WO 2015154517A1 CN 2014094302 W CN2014094302 W CN 2014094302W WO 2015154517 A1 WO2015154517 A1 WO 2015154517A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- software
- time
- positioning
- start time
- failure
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/366—Software debugging using diagnostics
Definitions
- the software fault location method provided by the invention realizes the automatic positioning of the software fault by reproducing the software running state within a period of time before the fault occurs, does not need to occupy too much resources, helps the user to recognize the operation problem, and helps the software developer Identify defects in software design.
- the determining the positioning start time includes:
- the memory 302 is used as a computer readable storage medium, and can be used to store a software program, a computer executable program, and a module, such as a program corresponding to a software fault location method in the embodiment of the present invention.
- the instruction/unit for example, the determination module 201, the acquisition module 202, the reproduction module 203, and the analysis module 204 in the positioning device of the software failure shown in FIG. 2).
- the processor 301 executes various software applications, instructions, and modules stored in the memory 302 to perform various functional applications and data processing of the terminal device, that is, a method for locating software faults in the foregoing method embodiments.
- the start time of the i-th time slice is selected as the positioning start time, and the i is a natural number.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Software Systems (AREA)
Abstract
Description
Claims (10)
- 一种软件故障的定位方法,其特征在于,包括:确定定位开始时刻;获得定位开始时刻的***环境;在所述定位开始时刻的***环境中,重现软件从定位开始时刻到故障发生时刻的运行状态;根据重现的运行状态确定导致软件故障的问题。
- 根据权利要求1所述的方法,其特征在于,所述确定定位开始时刻包括:将软件出现故障的本次运行,在时间上切分为多个时间切片;选择第i个时间切片的开始时刻作为定位开始时刻,所述i为自然数。
- 根据权利要求1至2中任一项所述的方法,其特征在于,所述重现软件从定位开始时刻到故障发生时刻的运行状态,具体包括:根据已记录的从定位开始时刻到故障发生时刻的鼠标点击事件,重现从定位开始时刻到故障发生时刻的运行状态。
- 根据权利要求3所述的方法,其特征在于,所述重现从定位开始时刻到故障发生时刻的运行状态之前,还包括:将已记录的鼠标点击事件中的无效点击事件删除,获得有效点击事件。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述根据重现的运行状态确定导致软件故障的问题,包括:如果重现的运行状态与故障发生时刻的运行状态不符,则重新确定定位开始时刻;如果重现的运行状态与故障发生时刻的运行状态相符,则分析上述所有的有效点击事件,确定软件的执行逻辑,进而定位软件故障的发生原因。
- 一种软件故障的定位装置,其特征在于,包括:确定模块,用于确定定位开始时刻;获得模块,用于获得定位开始时刻的***环境;重现模块,用于在所述定位开始时刻的***环境中,重现软件从定位开始时刻到故障发生时刻的运行状态;分析模块,用于根据重现的运行状态确定导致软件故障的问题。
- 根据权利要求6所述的装置,其特征在于,所述确定模块包括:切分单元,用于将软件出现故障的本次运行,在时间上切分为多个时间切片;选择单元,用于选择第i个时间切片的开始时刻作为定位开始时刻,所述i为自然数。
- 根据权利要求6至7中任一项所述的装置,其特征在于,所述重现模块具体包括:重现单元,用于根据已记录的从定位开始时刻到故障发生时刻的鼠标点击事件,重现从定位开始时刻到故障发生时刻的运行状态。
- 根据权利要求8所述的装置,其特征在于,所述重现模块还包括:获得单元,用于将已记录的鼠标点击事件中的无效点击事件删除,获得有效点击事件。
- 根据权利要求6至9中任一项所述的装置,其特征在于,确定模块还用于:如果重新模块重现的运行状态与故障发生时刻的运行状态不符,则重新确定定位开始时刻;如果重现的运行状态与故障发生时刻的运行状态相符,则分析上述所有的有效点击事件,确定软件的执行逻辑,进而定位软件故障的发生原因。11、一种设备,其特征在于,包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时,进行如下操作:确定定位开始时刻;获得定位开始时刻的***环境;在所述定位开始时刻的***环境中,重现软件从定位开始时刻到故障发生时刻的运行状态;根据重现的运行状态确定导致软件故障的问题。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016533818A JP6259522B2 (ja) | 2014-04-08 | 2014-12-19 | ソフトウェア障害の位置標定方法、装置及び設備 |
BR112015032883A BR112015032883A2 (pt) | 2014-04-08 | 2014-12-19 | método, aparelho e dispositivo para localização de falhas de software |
KR1020157037064A KR101748833B1 (ko) | 2014-04-08 | 2014-12-19 | 소프트웨어 고장의 위치 확정 방법, 장치 및 설비 |
US14/902,476 US9983987B2 (en) | 2014-04-08 | 2014-12-19 | Method, apparatus, and device for locating a software failure |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410138417.4A CN103902454A (zh) | 2014-04-08 | 2014-04-08 | 一种软件故障的定位方法和装置 |
CN201410138417.4 | 2014-04-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015154517A1 true WO2015154517A1 (zh) | 2015-10-15 |
Family
ID=50993789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/094302 WO2015154517A1 (zh) | 2014-04-08 | 2014-12-19 | 一种软件故障的定位方法、装置及设备 |
Country Status (6)
Country | Link |
---|---|
US (1) | US9983987B2 (zh) |
JP (1) | JP6259522B2 (zh) |
KR (1) | KR101748833B1 (zh) |
CN (1) | CN103902454A (zh) |
BR (1) | BR112015032883A2 (zh) |
WO (1) | WO2015154517A1 (zh) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902454A (zh) * | 2014-04-08 | 2014-07-02 | 安一恒通(北京)科技有限公司 | 一种软件故障的定位方法和装置 |
CN104965775B (zh) * | 2015-04-23 | 2018-02-23 | 腾讯科技(深圳)有限公司 | 应用软件故障现场的重建方法、服务器及终端 |
CN104932979A (zh) * | 2015-07-01 | 2015-09-23 | 王沛 | 一种软件故障查找方法和装置 |
CN107133168B (zh) * | 2017-04-25 | 2020-08-11 | 中国船舶工业综合技术经济研究院 | 一种事件序列故障定位方法 |
CN110489967B (zh) * | 2018-05-15 | 2021-07-27 | 北京国双科技有限公司 | 程序运行风险的分析方法及装置 |
JP7134903B2 (ja) * | 2019-03-05 | 2022-09-12 | 株式会社日立製作所 | 不具合再現支援システム、不具合再現支援方法 |
CN112634696B (zh) * | 2020-12-21 | 2023-01-31 | 贝壳技术有限公司 | 故障定位练习方法、装置、电子设备和存储介质 |
CN114489014B (zh) * | 2022-01-27 | 2023-07-28 | 东风商用车有限公司 | 一种总线控制器故障排查方法与*** |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101046765A (zh) * | 2006-03-29 | 2007-10-03 | 华为技术有限公司 | 一种定位软件故障的方法 |
CN102184138A (zh) * | 2011-05-19 | 2011-09-14 | 广东威创视讯科技股份有限公司 | 一种软件错误自动重现和定位的方法及*** |
CN102902625A (zh) * | 2012-11-14 | 2013-01-30 | 北京奇虎科技有限公司 | 软件性能测试***和方法 |
CN103902454A (zh) * | 2014-04-08 | 2014-07-02 | 安一恒通(北京)科技有限公司 | 一种软件故障的定位方法和装置 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6298457B1 (en) * | 1997-10-17 | 2001-10-02 | International Business Machines Corporation | Non-invasive networked-based customer support |
US7665019B2 (en) * | 2003-09-26 | 2010-02-16 | Nbor Corporation | Method for recording and replaying operations in a computer environment using initial conditions |
CN101399821B (zh) * | 2007-09-28 | 2015-05-06 | 国际商业机器公司 | 记录/重放***、记录器/播放器、和方法 |
US8677174B2 (en) * | 2007-12-28 | 2014-03-18 | International Business Machines Corporation | Management of runtime events in a computer environment using a containment region |
JP2009205502A (ja) | 2008-02-28 | 2009-09-10 | Nec Corp | アプリケーション記録再生装置、アプリケーションの巻き戻し方法、アプリケーション記録再生プログラム |
JP2009223743A (ja) | 2008-03-18 | 2009-10-01 | Fujitsu Ltd | 障害解析支援システム及び障害解析支援方法 |
JP5463780B2 (ja) | 2009-07-31 | 2014-04-09 | ブラザー工業株式会社 | 情報処理装置 |
JP5483965B2 (ja) | 2009-09-14 | 2014-05-07 | 株式会社日立製作所 | ウェブアプリケーションの操作記録・再生方法およびシステム |
EP2718820B1 (en) * | 2011-06-08 | 2017-10-11 | The MathWorks, Inc. | Identifying and triaging software bugs through backward propagation of under-approximated values and empiric techniques |
-
2014
- 2014-04-08 CN CN201410138417.4A patent/CN103902454A/zh active Pending
- 2014-12-19 JP JP2016533818A patent/JP6259522B2/ja active Active
- 2014-12-19 WO PCT/CN2014/094302 patent/WO2015154517A1/zh active Application Filing
- 2014-12-19 BR BR112015032883A patent/BR112015032883A2/pt active Search and Examination
- 2014-12-19 US US14/902,476 patent/US9983987B2/en active Active
- 2014-12-19 KR KR1020157037064A patent/KR101748833B1/ko active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101046765A (zh) * | 2006-03-29 | 2007-10-03 | 华为技术有限公司 | 一种定位软件故障的方法 |
CN102184138A (zh) * | 2011-05-19 | 2011-09-14 | 广东威创视讯科技股份有限公司 | 一种软件错误自动重现和定位的方法及*** |
CN102902625A (zh) * | 2012-11-14 | 2013-01-30 | 北京奇虎科技有限公司 | 软件性能测试***和方法 |
CN103902454A (zh) * | 2014-04-08 | 2014-07-02 | 安一恒通(北京)科技有限公司 | 一种软件故障的定位方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
US9983987B2 (en) | 2018-05-29 |
US20170075800A1 (en) | 2017-03-16 |
JP2017512322A (ja) | 2017-05-18 |
JP6259522B2 (ja) | 2018-01-10 |
BR112015032883A2 (pt) | 2017-09-26 |
KR20160029754A (ko) | 2016-03-15 |
KR101748833B1 (ko) | 2017-06-19 |
CN103902454A (zh) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015154517A1 (zh) | 一种软件故障的定位方法、装置及设备 | |
US11023355B2 (en) | Dynamic tracing using ranking and rating | |
US10997222B2 (en) | Conversational agent dialog flow user interface | |
US10025695B2 (en) | Enhancing GUI automation testing using video | |
US9342390B2 (en) | Cluster management in a shared nothing cluster | |
WO2018068639A1 (zh) | 数据恢复方法、装置和存储介质 | |
KR20170138365A (ko) | 컴퓨터 시스템의 하드웨어 및 소프트웨어의 에러 발생 여부를 통합적으로 관리하는 장치 | |
CN115576772A (zh) | 埋点信息上报方法及装置、介质及电子设备 | |
CN108647284B (zh) | 记录用户行为的方法及装置、介质和计算设备 | |
WO2017197982A1 (zh) | 报文处理方法、装置及***和计算机存储介质 | |
US8171345B2 (en) | Disablement of an exception generating operation of a client system | |
KR101941105B1 (ko) | 컴퓨터 시스템에 포함된 하드웨어의 에러 발생 여부를 통합적으로 관리하여 백업 및 복구를 수행하여 외부 단말에 알리는 방법 | |
CN105760456A (zh) | 一种保持数据一致性的方法和装置 | |
US10558697B2 (en) | Segmenting a set of media data using a set of social networking data | |
CN113382268B (zh) | 直播异常分析方法、装置、计算机设备和存储介质 | |
KR101938202B1 (ko) | 컴퓨터 시스템에 포함된 하드웨어의 에러 발생 여부를 통합적으로 관리하여 백업 및 복구를 수행하여 외부 단말에 알리는 방법 | |
WO2016120989A1 (ja) | 管理計算機及びルールの試験方法 | |
KR101793263B1 (ko) | 컴퓨터 시스템에 포함된 하드웨어의 에러 발생 여부를 통합적으로 관리하여 백업 및 복구를 수행하여 외부 단말에 알리는 방법 | |
JP2017162182A (ja) | テスト装置、テスト方法、及びテストプログラム | |
US20230315499A1 (en) | Simulation of user actions in computer environment | |
JP2017083970A (ja) | 操作記録再生プログラム、操作再生プログラム、操作記録再生方法及び操作記録再生システム | |
CN117785850A (zh) | 数据采集方法、装置、设备及介质 | |
CN111310182A (zh) | 一种恶意软件管理方法以及相关装置 | |
CN112286626A (zh) | 跨存储的磁盘快速安全克隆的方法、***、设备和介质 | |
JP2012178094A (ja) | 試験実施装置及び試験実施方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14888603 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2016533818 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20157037064 Country of ref document: KR Kind code of ref document: A |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112015032883 Country of ref document: BR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14902476 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14888603 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 112015032883 Country of ref document: BR Kind code of ref document: A2 Effective date: 20151229 |